0% found this document useful (0 votes)
0 views2 pages

Week1 Python Study Plan

Uploaded by

hanaa amged
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views2 pages

Week1 Python Study Plan

Uploaded by

hanaa amged
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

■ Week 1 – Python Study Plan

This plan is designed for Hanna to begin her journey into programming with Python. Each day has a
small goal and exercises to build your skills step by step. By the end of the week, you’ll have written
your first mini-project: a calculator!

Day 1 – Setup & Print


• Install Python 3.13 (or latest).
• Open IDLE or use Replit.com.
• Write a program that prints:
• - Your name
• - Your favorite book
• - A message: 'I’m starting my journey to be a software engineer!'

Day 2 – Variables & Data Types


• Create variables for your age, name, and weight.
• Print them in one sentence using f-strings.

Day 3 – If/Else (Decisions)


• Ask user for their age.
• If age ≥ 18 → print 'You are an adult.'
• If age < 18 → print 'You are a minor.'
• If age ≥ 60 → print 'You are a senior.'

Day 4 – Loops
• Print numbers 1 to 10 using a for loop.
• Print numbers 1 to 10 using a while loop.
• Challenge: print only even numbers between 1 and 20.

Day 5 – Lists
• Create a list of 5 foods you like.
• Print the first and last item.
• Add a new item and remove one item.
• Loop through and print each food.

Day 6 – Functions
• Write a function greet(name) that prints 'Hello, [name]!'
• Write a function add(a, b) that returns the sum.
• Challenge: Write a function to check if a number is even or odd.

Day 7 – Mini Project: Calculator


• Ask the user for two numbers.
• Ask which operation (+, -, *, /).
• Perform the operation and print the result.

You might also like