User Input & If Else | Intro to Coding | Learn to Code Python!

Опубликовано: 13 Май 2026
на канале: JakeEh
96
12

In this video we go over how to use user input and how to use if, else if, and else statements.

This video is a little longer than my normal videos, but I wanted to really make sure that if-statements make sense to everyone as they are one of the fundamental things to use when coding in any language and they work the same in all of them.

User inputs are used to be able to have a user provide an answer to a question for your program. While this is just done through the command line with no fancy user interface, it's still a fantastic way to make your program more useful to anyone. Plus it's vital when you want to make a game! 😉

If-statements as mentioned above are extremely important when learning programming. Without things like if-statements your code would run the same no matter what information is inputed by a user. But with if-statements we can control the flow of the code. We can tell if a player has achieved the necessary score to finish a level, we can play a noise if a user has entered the right password. The possibilities are truly endless.

User Input: https://www.w3schools.com/python/pyth...
If-Statements: https://www.w3schools.com/python/pyth...

Thanks for watching! ❤️

Time codes
00:00 Intro
00:36 User Inputs
04:06 If-Statements

#python #ifstatement #userinput