Please explain randint
Whats the randint in this line code "print(random.randint(1,100))" means??
1 answers ( 0 marked as helpful)
Thank you for reaching out!
As explained in the Python documentation, the
randint(a, b) function returns a random integer between
In your specifict example, the function returns an integer between 1 and 100 inclusive.
Submit an answer
Please help me here when I run this code its say edit configuration,what should I do?
Please help... me I'm struggling when I decided to run this python it's say error.
Tower of Hanoi problem _ Tower "A" is not Empty and Tower "C" has incomplete disk . Please why?