0
How to generate a random number whicj same for all iteration
3 Antworten
+ 4
sreeshma if you want the random number to remain the same, instead of assigning the variable as random inside the iterations, assign a random number to a variable before the loops begin, then code the loop and use that variable.
So it will be the same random number throughout. (until you restart the entire program and it becomes a new random number)
+ 1
str(digit) ?
0
how to convert a digit to word in python?