Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Programming Rock, Paper, Scissors With No If Statements - Python

Keith Galli via YouTube

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Explore an advanced Python programming technique by creating a rock, paper, scissors game without using if statements. Learn how to approach problem-solving from different angles, enhancing your Python skills. Dive into alternative methods for game logic implementation, including the use of matrices, dictionaries, and index-based result determination. Follow along with the coding process, understand the underlying concepts, and compare this approach to traditional if-statement implementations. Access the source code on GitHub and find links to related tutorials, including the original rock, paper, scissors video. Gain insights into thinking creatively about programming challenges and expand your Python programming toolkit.

Syllabus

Intro
The Matrix
Coding
Dictionary
Computer Index Get
Result Messages
Comparison

Taught by

Keith Galli

Reviews

Start your review of Programming Rock, Paper, Scissors With No If Statements - Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.