Courses
Python for Beginners: Write Code That Actually Runs, Then Make It Better
Check Yourself: The Basics You Cannot Skip
Five questions on variables, data types, operators, input and output. Answer them without scrolling back. That's the point.
Course content
Join this Course
Sign in to save your progress.
-
Before You Write Code
-
Introduction to Python Programming: What It Is and Why Start Here
-
Installing Python and Running Your First Script
-
-
-
The Basics You Cannot Skip
-
Python Variables and Data Types
-
Python Operators and Expressions
-
Getting Input and Printing Output in Python
-
-
-
Making Decisions and Repeating Work
-
Python If Statements: Making Your Code Decide
-
Python Loops: For, While, and When to Stop
-
-
-
Organizing Your Code
-
Python Functions: Stop Copying and Pasting
-
Python Lists and Dictionaries
-
-
-
When Things Go Wrong
-
Reading Python Error Messages Instead of Panicking
-
Python Try and Except: Handling Errors Properly
-
-
- Final Check: Python for Beginners
1.
A spreadsheet gives you a quantity as "3". You multiply it by 3 and get "333". What happened?
2.
Your code says if is_member == true: and Python raises NameError. Why?
3.
You need to split 17 items into boxes of 5. Which expressions give the number of full boxes and the items left over?
4.
A user types 5 into age = input("Age: "), and then age + 1 raises TypeError. What is the fix?
5.
Your total prints as 0.30000000000000004 instead of 0.3. What is the reasonable fix for display?
About
Five questions on variables, data types, operators, input and output. Answer them without scrolling back. That's the point.
- Duration
- 5 min
- Last update
- 09/17/2026
Was this helpful?
0
0
Comments (0)
Sign in to commentNo comments yet.