Skip to content

Commit d30b131

Browse files
random module tutorial
create
1 parent 1f301e7 commit d30b131

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

random module tutorial

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import random
2+
colors = ['red', 'white', 'black']
3+
x = random.randint(colors)
4+
print(x)

0 commit comments

Comments
 (0)