Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- def divi():
- total=input()
- if (total/2)>int(total/2):
- a=(total+1)/2
- b=total/2
- team1,team2=randint(a,b)
- c=str(team1)
- d=str(team2)
- else:
- team1,team2=total/2,total/2
- c=str(team1)
- d=str(team2)
- print("players in team1 is:"+c)
- print("players in team2 is:"+d)
- divi()
Add Comment
Please, Sign In to add comment