Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = input('what is your name? ')
- print("Hello, " + name)
- length = eval(input('enter length: '))
- width = eval(input('enter width: '))
- area = length * width # + - / * %
- distance = eval(input('enter distance: '))
- time = eval(input('enter time: '))
- speed = distance/time
- print('width = ', width)
- print('length = ', length)
- print('area = ', area)
- print('speed = ', speed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement