Week 1
Week 1: Python Foundations and Decisions
Combine Python basics, input/output, variables, data types, and conditionals into one focused launch week.
Log in to track progress on the assigned problems.
Week 1: Python Foundations and Decisions
Students learn how Python programs read input, store values, convert data types, print output, and make decisions with conditionals.
Topics
print()andinput()- variables and assignment
- strings, integers, and numeric conversion
- comparison operators
if,elif, andelse
Required Problems
- Hello Kingston
- Hours to Minutes
- Sum Two Numbers
- Ready for Review
- Grade Calculator
Lesson completion is automatic. Students complete the week when every required problem has an accepted submission.
Required practice
Problems for this lesson
Solve all assigned problems to complete the week.
1Input/OutputBeginner
Hello Kingston
Read a student name and print a Caribbean Code welcome message.
2VariablesBeginner
Hours to Minutes
A student practiced for `h` full hours. Convert that time to minutes.
3Input/OutputBeginner
Sum Two Numbers
Given two integers, output their sum.
4ConditionalsBeginner
Ready for Review
A student is ready for certification review if their practice score is at least 70.
5ConditionalsBeginner
Grade Calculator
Given a numeric score, print the matching letter grade.