How to Take User Input in Python? #3

Опубликовано: 26 Август 2020
на канале: Programiz
140,552
2.5k

The Python input() function takes input from the user in string format and returns it.
🔥 Want to learn Python, the right way? Get my interactive Python course: https://bit.ly/right-python

In this video, we will learn to convert these input values to integers and floating-point numbers using int() and float() functions.

~
Run Python Online: https://www.programiz.com/python-prog...
Programs in this video:https://github.com/programiz/python-c...
Python Input and Output (text-based tutorial): https://www.programiz.com/python-prog...

Watch our videos and revise them with our Python App!
Download here for Android: https://bit.ly/learn-python-android
Download here for iOS: https://apple.co/3iPm6Sx

Timestamps:
0:00 Introduction
0:51 Take input from the user
2:49 Check the type of user input
4:25 Convert strings to integers and floats
6:31 Non-numeric strings to numbers
7:25 Recap

Find Programiz elsewhere:
Facebook:   / programiz  
Instagram:   / _programiz  
LinkedIn:   / programiz  
Website: https://www.programiz.com
-------------------------------------------------

How to Take User Input in Python? #3

#python #learnprogramming #programiz #pythoninput


На этой странице сайта вы можете посмотреть видео онлайн How to Take User Input in Python? #3 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Programiz 26 Август 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 140,552 раз и оно понравилось 2.5 тысяч зрителям. Приятного просмотра!