Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #These are the exercises for Python programming on p2pu
- #exercize 2.2
- name = raw_input("Enter your name: ")
- print "Hello" , name
- #exercise 2.3
- hh = raw_input("Enter Hours: ")
- hours = float(hh)
- hh = raw_input("Enter Rate: ")
- rate = float(hh)
- # print rate, hours
- pay = rate * hours
- print pay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement