🗒 Cheat Sheet← Lesson
BitWithBite
Python Worksheet

🐍 Input & Output

Chapter: Python · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Read user inputConvert input to numbersFormat output with f-stringsUse print with multiple values
📚 Quick Recap

🎯 What you'll learn: The full power of print() — its sep, end, and formatting parameters. How input() works and why its result is always a string. How to cast user input to numbers, collect multiple inputs in one line, validate input, and build complete interactive console programs.

🧠 Section A · Concept Check ● BEGINNER 4 × 1 = 4

1input() always returns a:
2To read a number:
3print('a','b') outputs:
4f'Hi {name}' is called an:

🧮 Section B · Problem Solving ● INTERMEDIATE 2 + 3×3 = 11

5input() returns type .
6Convert input to int with (input()).
7Ask the user their name and store it.
8Read an integer age from the user.
9Print 'Score: 95' using an f-string with score = 95.

🚀 Section C · Challenge ● CHALLENGE 5

10Why does input() + 5 fail?
💭 Reflection — the most useful thing I learned:
A ___/4   B ___/11   C ___/5   Total ___/20 Teacher's Signature Parent's Signature
✂ answer key — fold or cut before handing out

1-B   2-A   3-B   4-B  |  5 str   6 int   7 = name = input('Name? ')   8 = age = int(input())   9 = print(f'Score: {score}')  |  10 = input() is a str; you cannot add str and int without converting

📄 Need offline practice?Download the print-ready PDF or open the one-page cheat sheet.
⬇ Worksheet PDF 🗒 Cheat Sheet