Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Game4
#python 3.6.9 def main(): print ("Hello, world!") count = 0 import random from random import randint value = randint(1,10) #1 and 10 represent the range for your #random value print(value) Num1 = value count =+ 1 if count < 3: value2 = randint(1,10) print (value2) elif (count == 2): value3=randint(1,10) print (value3) else: print("end", Num1) main ()
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Organizing Transactions
arjun chinese class
sum_of_digits.py
Rectangle Perimiter
Python 3: Queue
shuru15
Assignment-3a
List comprehension, join, split usage
set, tuple, and dict
gj
Please log in to post a comment.