+ 2

need code to make 10 players in tow team rundumly red team have three players green team have 7 players

dont give me the code please just teatch me how to creat it

1st Nov 2016, 8:24 PM
‫يوسف العمري‬‎
‫يوسف العمري‬‎ - avatar
2 Respuestas
+ 4
use can use the random int generator generator.nextInt("the range")+1; use loops so it won't repeat the same number
2nd Nov 2016, 8:47 AM
imaqtpie
imaqtpie - avatar
+ 1
import random class and use 'random of' array
2nd Nov 2016, 8:46 PM
Mohammed Zia Ul Akthar
Mohammed Zia Ul Akthar - avatar