Advertisement
Guest User

Untitled

a guest
Apr 4th, 2020
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. city = input()
  2.  
  3. while True:
  4.     if city == 'Sail':
  5.         break
  6.     town = city.split('||')
  7.     people = int(city[1])
  8.     gold = int(city[2])
  9.  
  10. command = input()
  11. while True:
  12.     if command == 'End':
  13.         break
  14.     name = command[0]
  15.     place = command[1]
  16.     citizens = command[2]
  17.     money = command[3]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement