+ 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

17th Dec 2020, 3:32 PM
James
James - avatar
6 ответов
+ 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
17th Dec 2020, 3:46 PM
Ashwini Adsule
Ashwini Adsule - avatar
+ 5
Okay, I try it.
17th Dec 2020, 4:52 PM
Ashwini Adsule
Ashwini Adsule - avatar
+ 3
Thx, merry Christmas
17th Dec 2020, 3:48 PM
James
James - avatar
+ 3
Thx
17th Dec 2020, 3:56 PM
James
James - avatar
+ 1
Ashwini Is there a way to do it without any modules?
17th Dec 2020, 4:37 PM
Calvin Thomas
Calvin Thomas - avatar
+ 1
Try this: from datetime import datetime print(int(str(datetime.today().timestamp())[-1]))
25th Jan 2021, 6:39 AM
Ashwini Adsule
Ashwini Adsule - avatar