1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
What does gene_count = 3000 actually do in Python?
Creates a label ("variable") pointing at the value 3000 in memory
It doesn't create a permanent container with that name baked in, just an assignment.
Does normalized = expression_level * 100 change expression_level?
No → it computes a new value and assigns it to normalized; expression_level stays unchanged.
What type is 3000?
int (whole number, no decimal)
What type is 0.87?
float (decimal number)
What type is 'BRCA1'?
string (text, in quotes)
How does Python decide a value's type?
By how it's written — no decimal point → int; decimal point → float; quotes → string.