so i am trying to write a code that takes is a function for defining Amino Acids. This function takes in a sequence and translates it into mRNA (DNA= ATCGATCG, mRNA= AUCGAUCG) i have no problem with this. The one problem I am having seems like the simplest part of the whole thing. taking in the mRNA and looping throw it 3 characters at a time (AUC, GAU) and disregards any remanding characters. Any help would be appreciated seeing how I have already pulled out everything in my tiny CS1 arsenal.
jamseyjames 0 Newbie Poster
woooee 814 Nearly a Posting Maven
jamseyjames 0 Newbie Poster
jamseyjames 0 Newbie Poster
Gribouillis 1,391 Programming Explorer Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.