YoVDO

Python User Input and Control Flow - Python Tutorial

Offered By: Dave Gray via YouTube

Tags

Python Courses Enums Courses

Course Description

Overview

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.

Syllabus

Intro
Welcome
Create a new file
Basic User Input
Basic Control Flow
Exiting the program
User Input Data Type
Random Computer Choice
Output the choices
Game Winner Control Flow
Test the Game
Improving the Game
Introducing Enums
Improve the Game with Enums
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.


Taught by

Dave Gray

Related Courses

Java Programming: Step by Step from A to Z
Udemy
Typescript Fundamentals
Udemy
Java Class Library
LearnQuest via Coursera
Hibernate: Advanced Development Techniques
Udemy
TypeScript for Node.js Developers
LinkedIn Learning