Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Game3
#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) else: print("end", Num1) main ()
run
|
edit
|
history
|
help
0
Python | Random elements with atleast K occurrences
Get count
Transpose matrix
Traceback prettyfy.py
Reading XML file
Adivina el número
python, Polymorphie, attributes, setter and getter the pythonic way (V3)
Multiply two marrix
PyTempConvDIP
Change Binary into Decimal