Programming Rock, Paper, Scissors with no If Statements (Python) @KeithGalli
Programming Rock, Paper, Scissors with no If Statements (Python)  @KeithGalli
Uploaded November 2018 | Updated November 2026, 3 hours ago
Taking the rock, paper, scissors game we programmed in the last video and this time trying to do it with no if statements. I liked the idea of making this video because being able to think about problems in multiple different ways is an important python skill. Let me know if you have any questions, and I hope you enjoy :).

Make sure to SUBSCRIBE to not miss any future videos.

Link to first rock, paper, scissors video:
youtu.be/8TCtYbt7ARI

Source code:
github.com/KeithGalli/rockpaperscissors

Link to setup SublimeREPL:
packagecontrol.io/packages/SublimeREPL

-------------------------
PYTHON TUTORIAL SERIES:

Why Learn Python? +Setup: youtu.be/RJL6Y761TNE

1. Math & Variables: youtu.be/XM0CtrJYM2A
2. Conditional Statements (if, elif, else): youtu.be/vsVGPcfxEiA
3. Functions: youtu.be/5U95tRdYySA
4. Lists & Tuples: youtu.be/_zFI6ytHHdY
5. For Loops & While Loops: youtu.be/WPF5M_Ic6Fc

Learn to Program a game: youtu.be/-8n91btt5d8

-------------------------
If you are curious to learn how I make my tutorials, check out this video: youtu.be/LEO4igyXbLs

Join the Python Army to get access to perks!
YouTube - youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - patreon.com/keithgalli

*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.
Programming Rock, Paper, Scissors with no If Statements (Python)Everything you need to know about Classes in Python! (Object Oriented Programming Tutorial)Solving Real-World Data Science Problems with Python! (Predicting Healthcare Insurance Costs)Real-World Data Analysis & Visualization with Python! (Olympics Dataset Analysis)Complete Python Pandas Data Science Tutorial! (Reading CSV/Excel files, Sorting, Filtering, Groupby)Conditional Statements (if, elif, else) in Python - Beginner Python Tutorial #2Complete Regular Expressions Tutorial! (with exercises for practice)How does a Board Game AI Work? (Connect 4, Othello, Chess, Checkers) - Minimax Algorithm Explained5 Python Libraries You Should Know in 2025!How to Program Connect 4 in Python! (part 2) - Check for Winning Move
Keith Galli |

Programming Rock, Paper, Scissors with no If Statements (Python)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER