Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x0=0;x1=0;x2=0;x3=0;x4=0
- b=300
- for x in range(1023):
- if x//b == 0:
- x0=x0+1
- elif x//b == 1:
- x1=x1+1
- elif x//b == 2:
- x2=x2+1
- elif x//b == 3:
- x3=x3+1
- else:
- x4=x4+1
- print (x0,x1,x2,x3,x4)
Advertisement
Add Comment
Please, Sign In to add comment