Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. if ip in ipAddresses:
  2. print(f'{name} with ip {ip} has already been used by {ipAddresses[ip]}')
  3. continue
  4. else:
  5. ipAddresses[ip] = name
  6.  
  7. # this is the other code i'm talking about
  8. # if we don't put continue this part will still be executed till the end
  9.  
  10. # gender to integer
  11. gender = 0
  12. if genderString == 'male':
  13. gender = 1
  14. else:
  15. gender = 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement