Status: Not Started
Result World
Objective
Font Size
14
Parentheses autocomplete
Wrap lines
Editor
Theme
Code with blocks by default
Console Font Size
12
Console Theme
Show File Tab Bar
9 determine_genotype Function
main.py
1
2
"""
This program computes and depicts a Punnett Square for a monohybrid cross.
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output
Docs
Exercise
More
History
Video
Download
About
Upload
This student is viewing this assignment in English. View this page in English?
5 points
Complete the determine_genotype
function to print each genotype.
Print the genotypes in each of the four boxes by combining the letter on top (given by allele1) with the letter on the left (given by allele2).
The function is already being called, with the following numbers being given to the determine_genotype
function as the parameters first
and second
:
- 0,0
- 0,1
- 1,0
- 1,1
*Hint!: These parameter values are being used to index the allele strings!
Make sure that the allele given by allele1 stays blue and the allele given by allele2 stays red!
Reset Code
Upload an image
Upload from your computer
Or paste a link here
Slides and Notes
About
Python (turtle)
Skulpt 1.0.0, Python 2.x
Upload Media
File URL:
Your browser does not support recording media.
Please use up-to-date Chrome or Firefox in order to use audio and video recordings in your programs. Uploading files and taking photos should still work in your current browser.
Please use up-to-date Chrome or Firefox in order to use audio and video recordings in your programs. Uploading files and taking photos should still work in your current browser.