How to Validate User Inputs in Python | Input Validation in Python

preview_player
Показать описание
⬇️ *LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW)* 😉💪 ⬇️

*SKILLSHARE*
_(Python, Web Dev, UI/UX Design, Music, Art, Animation and a lot more)_

*DATACAMP*
_(Python, ChatGPT, SQL, Power BI, and a lot more)_

*COURSERA PYTHON*
_(For beginners, Data Science, Data Analysis, AI, Cybersecurity and a lot more):_

*COURSERA WEB DEVELOPMENT*
_(Full Stack, Front-End, Back-End, Web Design and a lot more):_

Learn how to validate inputs entered by the user like not allowing inputs that contain certain characters, allowing only numbers and a lot more.

Complete list of what you'll learn:
- Allow only numbers
- Allow anything but numbers
- Not allow inputs that contain certain invalid characters
- Allow only certain values

If the video was helpful, let me know in the comments down below and also like the video so that other people can see it. Needles to say I really appreciate your support 💪❤️

📨 SUBSCRIBE so that you don't miss any new video:

🔗 RELATED CONTENT (videos, playlists, etc) 🔗

🤩 AFFILIATE LINKS 🤩

🧑🏻‍💻 ABOUT ME 🧑🏻‍💻

I'm Fabio, I started programming with Python a lot of years ago and I fell in love with this world.
I started this Youtube channel to help you during your own journey and I hope that my help can make you an amazing programmer who loves this world as I do.
Welcome on board!! 🚀

#pythonWithFabioMusanni #python #pythonforbeginners #pythontutorial #pythonprogramming #coding #programming
Рекомендации по теме
Комментарии
Автор

⬇️ *LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW)* 😉💪 ⬇️

*SKILLSHARE*
_(Python, Web Dev, UI/UX Design, Music, Art, Animation and a lot more)_

*DATACAMP*
_(Python, ChatGPT, SQL, Power BI, and a lot more)_

*COURSERA PYTHON*
_(For beginners, Data Science, Data Analysis, AI, Cybersecurity and a lot more):_

*COURSERA WEB DEVELOPMENT*
_(Full Stack, Front-End, Back-End, Web Design and a lot more):_

Thank you for the support!❤

FabioMusanni
Автор

I've been searching on how to select items from a list via input and the last part of your tutorial explained just that! Thanks very much 😁

tronicit
Автор

Thank you for this, been running around in circles looking for the correct try..except.. for my float input for bmi calculation. Cant find clear explanation on the internet. This is veyr straightforward. Finally finished my assignment :)🤩☺☺ Subscribed🥰

grecellmarciales
Автор

Very useful. I could not find a good explanation about it anywhere.

ULTIMAYD
Автор

🚀 Your video was incredibly helpful, Fabio! As a beginner developer, learning how to validate user inputs in Python seemed daunting, but your clear explanations and practical examples made it so much easier to grasp. Now I feel more confident in handling user inputs and ensuring the integrity of my programs. Thank you for sharing your expertise and making coding more accessible for everyone! 💪❤

python-cookie
Автор

Why a question arrives when i do input?

tazkiatahmid
Автор

Hello Fabio! This is amazing tutorial for my understandig! I really enjoed it😀 I am new at coding, how can I implement that on the hangman game the one that you created in the other video. I need to make the code to handle empty and invalid inputs from users without losing lifes if you understand what I mean. I need that specific for the hangman game that you have created because I don’t know how to implement that by my own. Plaese help me 🙏🏼

Meyaal
Автор

when i entered break it throws an error that break can be used only within a loop. I checked everything seems ok. How to fix it?

quiztherapy
Автор

and what if i want a certain word ? how can i make it so everything but this word gets marked as Invalid?

gamerbase
Автор

I trying to add to this to a calculator i am making in python. But i having difficulty applying it to the (num 1 and num 2 user input portion if the user does enter a integer. it just returns an error, its not attached to the user input portion. How do i error check num 1 and num 2 for non interger values. i did use try and error but just had indentation issues. Thanks

jayl
Автор

Fabio, can you Store strings ‘stone’, ‘paper’, ‘scissors’ in a list
Ask the user to input their choice (validate)
Pick a random item from the list to represent the computer 
Use if, elif commands to check who wins
Display who won on the screen.

JoeDonRB
Автор

I ain't getting ValueError as a seperate feature

ayushvispute
visit shbcf.ru