■ Session 1: Practical Python Worksheet – Print & Output
■ TASK 1: Say Hello!
Write Python code that prints a welcome message:
>>> print('Hello, Python world!')
Now try your own:
>>> _______________________________________________________
>>> _______________________________________________________
■ TASK 2: Personal Print
Write code that prints:
- Your name
- Your favorite emoji
- A motivational quote
# Example:
>>> print('My name is Noor ■')
>>> print('"Keep going!"')
Your code:
>>> _______________________________________________________
>>> _______________________________________________________
>>> _______________________________________________________
■ TASK 3: Name Art Challenge ■
Use print statements to create a design of your name.
Try shapes, spacing, or symbols.
# Example:
>>> print('* * * *')
>>> print('* N O O R *')
>>> print('* * * *')
Your art (plan it here):
>>> _______________________________________________________
>>> _______________________________________________________
>>> _______________________________________________________
>>> _______________________________________________________
■ BONUS: Try printing multiple lines using '\n'.
>>> print('Line 1\nLine 2\nLine 3')
■ Once done, copy your code to Replit and run it!
■ Share your Replit link with your teacher to earn your badge.