Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Rock, Paper and Scissors | Python if-else Statement
Conditional Statements in Python
course content

Course Content

Conditional Statements in Python

Conditional Statements in Python

1. Python if Statement
2. Python if-else Statement
3. Python if-elif-else Statement
4. Python Ternary Operator

Challenge: Rock, Paper and Scissors

Task

Create a simple Rock, Paper, Scissors game in Python. The game should allow two players to enter their choices (rock, paper, or scissors) and determine the winner of a single round.

Task

Create a simple Rock, Paper, Scissors game in Python. The game should allow two players to enter their choices (rock, paper, or scissors) and determine the winner of a single round.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 2. Chapter 4
toggle bottom row

Challenge: Rock, Paper and Scissors

Task

Create a simple Rock, Paper, Scissors game in Python. The game should allow two players to enter their choices (rock, paper, or scissors) and determine the winner of a single round.

Task

Create a simple Rock, Paper, Scissors game in Python. The game should allow two players to enter their choices (rock, paper, or scissors) and determine the winner of a single round.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 2. Chapter 4
toggle bottom row

Challenge: Rock, Paper and Scissors

Task

Create a simple Rock, Paper, Scissors game in Python. The game should allow two players to enter their choices (rock, paper, or scissors) and determine the winner of a single round.

Task

Create a simple Rock, Paper, Scissors game in Python. The game should allow two players to enter their choices (rock, paper, or scissors) and determine the winner of a single round.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Task

Create a simple Rock, Paper, Scissors game in Python. The game should allow two players to enter their choices (rock, paper, or scissors) and determine the winner of a single round.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 4
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt