repl.it
@Juice99/

Class testing

Python

No description

fork
loading
Files
  • main.py
  • Test.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
import random
import Test

x = 0

while x < 100:
	x += 1
	ran = random.randint(0,3)

	unit = getattr(Test.names[ran], "name")

	print(unit)
?