Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- h='Enter hours:'
- >>> hours= raw_input (h)
- >>> int (hours)
- >>>i= 'Enter rate:'
- >>> rate= raw_input (i)
- >>> int(rate)
- >>> Pay= rate*hours
- Print Pay
- 3.
- >>> width = int(17)
- >>> height= float(12.0)
- >>> a=width/2
- >>> print a
- 8
- >>> b=width/2.0
- >>> print b
- 8.5
- >>> c=height/3
- >>> print c
- 4.0
- >>> d= 1+2 *5
- >>> print d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement