Get Random Letters, Numbers, Tokens, Choices in Python

preview_player
Показать описание
How do I get random letters and numbers? How to get a random word or choice from a list in python? We’ll go over some of the easiest ways to add random characters, digits, strings, and list items to your python scripts.

Here’s the reference to the python library, random:

If you want to learn more about the secrets library and how to use it effectively, read the docs here:

00:00 Intro
00:39 Get random letters
03:27 Get random numbers
04:46 Use secrets & generate tokens
08:37 Get a random choice from a list

_______________
Do more with what you have.

WHO AM I?
👨🏻‍💻 My name is Jess, I'm a designer turned web developer with a disability: Multiple Sclerosis. Technology helped save my career and my livelihood, so I want to pass along the knowledge.

LET'S CONNECT

FAVORITE HOSTING PLATFORM
Рекомендации по теме
Комментарии
Автор

Great video! I learnt some new things in python from this. The most interesting for me was the ''.join(t), i didn't know that's a thing and it's really helpful for sorting and data collection

AlienMs
Автор

Thanks, this was just the suggestion I needed.

goofyrulez
Автор

How can I create an alphanumeric guessing game code? I have a code but it gives me the random letter so it isn’t a game.

SoggyWheat