Question: Create a simple program that calculates the number of Gs and Cs bases using the genome size and GC content from a table. In Spyder,

Create a simple program that calculates the number of Gs and Cs bases using the genome size and GC content from a table.
In Spyder, open a new file, save as
Exercise1.py
Use the input() function to read genome size and GC content from the user. Use the numbers from 'Average genome size' and 'G+C(%)' from the tablei n the 'Basics of numbers, strings, input and output' pdf. Think about the input will be instring format!
Convert Mb to bases
Calculate the number of Gs and Cs in the genome
Write a print statement that returns the following: The average genome contains X Gs and Cs.
Run your code with examples from the table in the 'Basics of numbers, strings, input and output' pdf.
 Create a simple program that calculates the number of Gs and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!