17 January 2026
well, I thought I'd incorporate some automation into my job basically, i've coded things in the past, but I'm new to Python and an admitted hack @hyunlee1o
Subdowscreatorsomeone told me the random code, what is that random function in python? (i use idle)
There's a module random in Python. Functions like random (a random float), randint (a random integer), shuffle (randomises a list), and more (the official documentation has a list of them; it's a good idea to check them out) can be imported from it.
Try import random and use random.randint(1, 50), random.shuffle([1, 2, 3, 4]) etc.
Or try from random import randint, shuffle and use them like this: randint(1, 50) and shuffle([1, 2, 3, 4])
Replymessage unavailable
It's not that no one helps, sometimes we aren't sure what to help. Learning is not limited to age; we learn at every phase of our lives. The willingness to learn is great, but with it one must be willing to ask, and to ask it clearly.
In the context of your question, you could store the info in a csv file. Sending emails can be achieved using the module yagmail (if you're using gmail) or the standard smtplib.
Hope this helps.
NuzThere's a module random in Python. Functions like random (a random float), randint (a random integer), shuffle (randomises a list), and more (the official documentation has a list of them; it's a good idea to check them out) can be imported from it.
Try import random and use random.randint(1, 50),
ill check it out
George 392.85 °CDon't tag me everyone asks a question, learn how to answer it yourself.
i don't know every command and link
George 392.85 °CDon't tag me everyone asks a question, learn how to answer it yourself.
sorry for the italialization: minchia! 😂 how much commands has the bot 😂