1. Engineering
  2. Computer Science
  3. i keep generating an error please help...

Question: i keep generating an error please help...

Question details
I keep generating an error. Please help.
ATG B] Question No.3: In Python interactive mode or PyCharm IDE, write a function named check_start_coden that will allow a user to enter a DNA sequence from the keyboard using input)function. Make sure to give the user a prompt Enter your sequence to know what is going on. Then, it will say Your sequence starts with ATG if the sequence starts with ATG (that is a start codon). Otherwise, it will say Your sequence does not start with ATG. This method do not take any argument or parameter, and it will not return any object out of this function. After defining this function, you need to call it to make sure it works. Show your command to call your function. functiun
>>> def check start codon): seq-input(Enter your sequence:) if seq.startswith(ATG): I. t. t. print (Your sequence starts with ATG) else: print(Your sequence does not start with ATG) File <stdin>, line 6 print (Your sequence does not start with ATG) SyntaxError: invalid syntax >>> lets.check start_codon() Traceback (most recent call last): File <stdin>, line 1, in <modulex NameError: name lets is not defined
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution