Module 1
Module challenge
Putting it all together.
Your first small program
Let's combine everything from this module. You will create a small program that stores information about a laboratory sample and prints a formatted summary.
Create three variables: sample_name (a string), temperature (a number), and replicates (a whole number). Then print a summary using f-strings.
Your task
Sample information program
- Create three variables: sample_name (a string), temperature (a number), and replicates (a whole number).
- Then print a formatted summary using f-strings.
Remember
• Use print to display information • Work with strings, numbers, and booleans • Store data in variables • Update variables • Use f-strings for formatted output • Read common error messages