aekaek

ex1

Jan 20th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #!/usr/bin/python3
  2. celsius= int(input("What temperature"))
  3. fahrenheit = ((celsius/5)*9)+32
  4. print("{} celsius can be {} fahrenheit" .format(celsius,fahrenheit))
  5. ##########################################################################################
  6. #!/usr/bin/python3
  7. money = 2000
  8. spent = int(input("How much do you buy"))
  9. remain= money - spent
  10. print(remain)
  11. ###########################################################################################
Add Comment
Please, Sign In to add comment