Basic User Input In Python

preview_player
Показать описание
Learning basic user input in Python will greatly increase what you can do with your Python codes. Through the input function, you can request a value from your user and store the data they enter as a string within your specified variable! Then you can use that information stored within the newly created variable for whatever your program requires!

This timeline is meant to help you better understand basic user input in Python:
0:00 Introduction.
0:17 Example of Python user input.
0:52 General process for user input in Python.
1:32 How to accept user input in Python.
2:00 Example accepting and using user input in Python.
2:49 Convert user input to numerical data types.
3:30 Outro

Follow & Support StudySession:

What is Python and why you should learn Python? Python programming, in particular Python 3, is a growing programming language that is loved by many programmers due to its simple syntax and ease of use. Python allows for relatively easy debugging of your codes and there are many beautiful Python IDE’s available for free to make coding more enjoyable. Python is also very popular among Data Scientists and many machine learning applications.
#studysession #python #programming
Рекомендации по теме
Комментарии
Автор

Awesome video! I'm new to Python and this video helped me understand user input in less than 4 minutes! Thanks again!

viminallast
Автор

wish I found this week 1 of my course :)
very helpful for those new to programming

ozwrangler.c
Автор

Thank you my dude, alright next problem here we go.

denzellrocha
Автор

omg I am sorry for the foul language, but you are so fuckin good at teaching. Damn, most people struggle to teach. Do you have a full beginner's course video in python?

yaweli
Автор

Im having an error where I keep getting a syntax Error on my code for the last " at the end of the F string here is my code

Variable = imput("What we need to know")

Age = input("Age")
Name = input("Name")

print(f"{Name} and {Age}")

LoganEGMG
Автор

Ths is my code
Age = input("What is your age")
Name = input("what is your name")
print("Hi user, your name is {Name}, and your age is {Age}")

and this is what happens when i run it
What is your age18
what is your namepxgf
Hi user, your name is {Name}, and your age is {Age}

Process finished with exit code 0


how do i fix???

Notorious-AP