Back to curriculum

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() and input()
  • variables and assignment
  • strings, integers, and numeric conversion
  • comparison operators
  • if, elif, and else

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.

Knowledge checks

Quizzes for this lesson

Passing required quizzes contributes to lesson completion.

1Required

Python Basic Syntax, Arithmetic, and If Statements

Passing score: 100%

Open quiz

Required practice

Problems for this lesson

Solve all required problems to complete the lesson.

1Input/OutputBeginnerRequired

Hello Kingston

Read a student name and print a Caribbean Code welcome message.

Open problem
2VariablesBeginnerRequired

Hours to Minutes

A student practiced for `h` full hours. Convert that time to minutes.

Open problem
3Input/OutputBeginnerRequired

Sum Two Numbers

Given two integers, output their sum.

Open problem
4ConditionalsBeginnerRequired

Ready for Review

A student is ready for certification review if their practice score is at least 70.

Open problem
5ConditionalsBeginnerRequired

Grade Calculator

Given a numeric score, print the matching letter grade.

Open problem