Guest User

Untitled

a guest
Jan 21st, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import math
  2. def divi():
  3. total=input()
  4. if (total/2)>int(total/2):
  5. a=(total+1)/2
  6. b=total/2
  7. team1,team2=randint(a,b)
  8. c=str(team1)
  9. d=str(team2)
  10. else:
  11. team1,team2=total/2,total/2
  12. c=str(team1)
  13. d=str(team2)
  14. print("players in team1 is:"+c)
  15. print("players in team2 is:"+d)
  16. divi()
Add Comment
Please, Sign In to add comment