Skip to content

Chapter1 Assignments #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions homeworks/ch1-hw1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
user_name= input("Enter your name:")
fav_color= input("Enter favourite color:")
print (f"Hi,{user_name}. {fav_color} is your favourite color")
4 changes: 4 additions & 0 deletions homeworks/ch1-hw2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
user_addr= input("Enter user address:")
item_name= input("Enter Item name:")
item_cost= input("Enter item cost:")
print(f"Address:{user_addr} \n Item Purchased:{item_name} \n Item Cost:${item_cost}")
2 changes: 2 additions & 0 deletions homeworks/ch1-hw3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
prompt = input("Hi, Tell me what you have learnt today?\n")
print(f"Amazing to hear!! You have learnt {prompt}")