0% found this document useful (0 votes)
2 views4 pages

Python Homework

The document outlines a Python homework assignment consisting of five questions that require users to create various programs involving character creation, pizza orders, space missions, sports player cards, and movie tickets. Each question specifies the information to be gathered from the user and how to display the results. Additionally, there is a bonus challenge that encourages creativity by allowing users to design their own program on a chosen topic, with specific rules to follow.

Uploaded by

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

Python Homework

The document outlines a Python homework assignment consisting of five questions that require users to create various programs involving character creation, pizza orders, space missions, sports player cards, and movie tickets. Each question specifies the information to be gathered from the user and how to display the results. Additionally, there is a bonus challenge that encourages creativity by allowing users to design their own program on a chosen topic, with specific rules to follow.

Uploaded by

romesaramzan01
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

📝 Python Homework – Variables, Input & Printing

🎮 Question 1: Build Your Game Character

Create a program that asks the user:

 Character Name

 Character Type (Wizard, Ninja, Knight, etc.)

 Favorite Weapon

 Health Points

 Special Power

Display the result like this:

🍕 Question 2: Open Your Pizza Shop

Ask the user:

 Customer Name

 Pizza Size (Small/Medium/Large)

 Favorite Topping

 Drink

 Delivery Address

Print the order receipt using ONE print statement and \n.

Example:
🚀 Question 3: Space Mission

Imagine the user is going to space.

Ask for:

 Astronaut Name

 Planet to Visit

 Spaceship Name

 Number of Crew Members

 Mission Duration (Days)

Output:

🏆 Question 4: Sports Player Card

Ask the user:

 Player Name
 Favorite Sport

 Jersey Number

 Team Name

 Favorite Position

Display:

🎬 Question 5: Movie Ticket

Ask the user:

 Name

 Movie Name

 Cinema Name

 Seat Number

 Showtime

Print a movie ticket like this:


⭐ Bonus Challenge – Design Your Own Theme

Create your own Python program on any one of these topics:

 Dream Vacation

 🐶 Pet Profile

 🎂 Birthday Invitation

 🏫 School ID Card

 🎵 Music Playlist

 🦸 Superhero Profile

 🎁 Online Shopping Receipt

 Racing Car Profile

Rules

 Use at least 8 variables

 Use input() for every detail

 Print the final output using a neat format

 Add one creative ending message

You might also like