367,118 views
15 votes
15 votes
Got a assignment and need help to do it or figure it out. Its too make 2 python codes that run for

1. Write a program to ask the user to input the number of hours a person has worked in a week and the pay rate per hour.

2. Jennifer wants to carpet her new room with a carpet. Create a program that will work out the area of any sized room, (l x w) Save as area of rectangle.py
Need help with it.



User Sumit Monapara
by
2.8k points

1 Answer

7 votes
7 votes

Answer:

Step-by-step explanation:

For input,

val = input("Enter your value: ")

print(val)

Haven't done python in while so I can't help with second one.

User Eskinder
by
2.5k points