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
Exercisepy
Use the input function to read genome size and GC content from the user. Use the numbers from 'Average genome size' and from the tablei the 'Basics of numbers, strings, input and output' pdf Think about the input will be instring format!
Convert to bases
Calculate the number of and 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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
