How to Take User Input in Python (Explained in 30 Seconds)

preview_player
Показать описание
In this short video, you will learn how to take user input in Python using the input function. Whether you are asking for a name, age, or any other value, input() lets your program talk to the user. By default, input returns a string, but you can convert it to numbers using int or float. This is a core concept for beginners, and you will use it in many projects later.

Subscribe to ZeroBug for more Python tips, coding basics, and beginner-friendly Shorts.

Hashtags:
#userinput #python #pythonshorts #codingtutorial #codingforbeginners
Рекомендации по теме
Комментарии
Автор

in the last you made a lil mistake man... to get a input in int or float we have to use int and float function outside the input function not the inside... if we use it inside it will try to convert string into int which will give you error

BullRushGaming-org
join shbcf.ru