Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. weight = int(input('Weight:'))
  2. unit = input(f'Type [L] if pounds, [K] if kilograms\n')
  3. if unit.upper() == "L":
  4.   print(f'You are {int(weight*2.2)} kilos.')
  5. elif unit.upper() == "K":
  6.   print(f'You are {int(weight*0.3)} pounds.')
  7. else:
  8.     print(f'You are cunt.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement