Question

Python Let us perform transcription! Write a program that transcribes DNA to RNA. Create a string...

Python Let us perform transcription! Write a program that transcribes DNA to RNA. Create a string that stores a DNA sequence in your code, and then replace all the T's with U's. Display to the screen the DNA and the RNA sequences.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Output

Code for copying

DNA=str(input("Enter the DNA sequence : "))
RNA=DNA.replace('T','U')
print("THE DNA SEQUENCE IS {}".format(DNA))
print("THE RNA SEQUENCE IS {}".format(RNA))

Add a comment
Know the answer?
Add Answer to:
Python Let us perform transcription! Write a program that transcribes DNA to RNA. Create a string...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write a python program that contains a hardcoded string and checks whether it is a palindrome...

    Write a python program that contains a hardcoded string and checks whether it is a palindrome (the same forwards as backwards). If it is then display “It is a palindrome”, otherwise display “It is not a palindrome”. A hardcoded string is simply a string defined in your program, for example: my_string = “Hello” Some sample palindromes to use are: A car, a man, a maraca Desserts, I stressed Madam, I’m Adam You will need to strip out any punctuation such...

  • write in python String: A sequence of characters enclosed within single or double quotes

    write in pythonString: A sequence of characters enclosed within single or double quotes. A string can include any character, including special characters and spaces. Examples: "Hello World!", 'I have $250 cash and a credit card.' Note: Each character in a string falls in a specific position, so we can assign an index (numbering) to each character. Such assignment helps us to perform mathematical operations on strings. Operations: * finding characters by position, length of string, concatenating, replicating, slicing * Back slashes for escape sequences: new...

  • Create the Python code for a program adhering to the following specifications. Write an Employee class...

    Create the Python code for a program adhering to the following specifications. Write an Employee class that keeps data attributes for the following pieces of information: - Employee Name (a string) - Employee Number (a string) Make sure to create all the accessor, mutator, and __str__ methods for the object. Next, write a class named ProductionWorker that is a subclass of the Employee class. The ProductionWorker class should keep data attributes for the following information: - Shift number (an integer,...

  • In Python: Write a program that produces the following output when searching for the word RNA...

    In Python: Write a program that produces the following output when searching for the word RNA in the paragraph below: Output: (RNAi) ends at position 49 (dsRNA) ends at position 211 (ssRNAs) ends at position 374 mRNAs. ends at position 431 Search Text (you can assign this to a string in your program): "Several rapidly developing RNA interference (RNAi) methodologies hold the promise to selectively inhibit gene expression in mammals. RNAi is an innate cellular process activated when a double-stranded...

  • Python)) Data types of Python. Write the python script to show the different examples. Write the...

    Python)) Data types of Python. Write the python script to show the different examples. Write the Python script to present ALL the mathematical arithmetic operations. Write the Python script to display your - first name, last name, ID, college name and the program of study. Write the Python script to receive the number of seconds as input and display the hours, minutes and seconds as output. Assume the variable x to be with the string of "Day by day, dear...

  • Write Java Programs to perform the following: 1. To create a new String object 2. To...

    Write Java Programs to perform the following: 1. To create a new String object 2. To find the length of the string 3. Concatenation operator 4. To display the content in String array 5. A complete Java Program that incorporates the following String methods taught in class a. toUpperCase()) b. to LowerCase()) C. replace('0','A')) d. s1.length() e. compareTo(s1)) methods taught in class a. toUpperCase()) b. to LowerCase()) C. replace('0','A')) d. s1.length()) e. compareTo(s1)) f. 51.substring(4)) g. s2.substring(2,10)) h. s1.indexOf('g')) i....

  • Python: Write a program that lets the user enter a string and displays the letter that...

    Python: Write a program that lets the user enter a string and displays the letter that appears most frequently in the string, ignore spaces, punctuation, and Upper vs Lower case. Create a list to hold letters based on the length of the user input Convert all letters to the same case Use a loop to check for each letter in the alphabet Have a variable to hold the largest number of times a letter appears, and replace the value when...

  • Write a program that stores the following data in a tuple: 54,76,32,14,29,12,64,97,50,86,43,12 The program needs to...

    Write a program that stores the following data in a tuple: 54,76,32,14,29,12,64,97,50,86,43,12 The program needs to display a menu to the user, with the following 4 options: 1 – Display minimum 2 – Display maximum 3 – Display total 4 – Display average 5 – Quit Make your program loop back to this menu until the user chooses option 5. Write code for all 4 other menu choices using the python code and screenshot the python code for me. many...

  • python/idle 1. Write a program that counts the number of A’s in a DNA sequence. The...

    python/idle 1. Write a program that counts the number of A’s in a DNA sequence. The input is one sequence in FASTA format in a file called ‘dna.txt’. For example, if the file contains: >human ACCGT then the output of the program should be 1. Your program should work for any sequence and not just the one in the example.

  • Python 1- What is a variable? 2- Write a program that stores the following measurements in five different variables: 28,...

    Python 1- What is a variable? 2- Write a program that stores the following measurements in five different variables: 28, 32, 37, 24, and 33. The program should calculate the average (sum of all the numbers divided by the total number of measurements) of the numbers and display it on the screen. Post your code and the results of your calculation here (snap shot would be fine). In the conferences you are encouraged to help one another to solve the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT