+ 6
What is a random number or name generator, how does it work and how do u make one? Also what code should I use to make it?
Sorry if this is a stupid question and I probably should know what it is, but I want to ask from others
6 Respostas
+ 8
Complete anyone of the programming course available on sololearn you got an answer to this question.
Check out my code for the random number generator:
https://code.sololearn.com/c1X1sQPpAFwC/?ref=app
+ 5
Okay, I try it.
+ 3
Thx, merry Christmas
+ 3
Thx
+ 1
Ashwini Is there a way to do it without any modules?
+ 1
Try this:
from datetime import datetime
print(int(str(datetime.today().timestamp())[-1]))