Главная
Study mode:
on
1
Intro
2
Welcome
3
Create a new file
4
Basic User Input
5
Basic Control Flow
6
Exiting the program
7
User Input Data Type
8
Random Computer Choice
9
Output the choices
10
Game Winner Control Flow
11
Test the Game
12
Improving the Game
13
Introducing Enums
14
Improve the Game with Enums
15
The pipe symbol is a bitwise OR.. but not what we needed here. We just need the word "or". I have updated the source code for the lesson with this correction. 🚀
Description:
Learn Python user input and control flow in this comprehensive tutorial video. Discover how to receive user input and apply control flow concepts to create a simple game that determines winners and outputs results. Explore basic user input, control flow structures, data type handling, random computer choices, and game logic implementation. Delve into more advanced topics like introducing enums to improve game functionality. Follow along as the instructor guides you through creating a new file, implementing various Python concepts, and testing the game. Gain practical experience with Python programming while building an interactive project.

Python User Input and Control Flow - Python Tutorial

Dave Gray
Add to list