On 2016-10-15 15:48, Nicholas Hopkins wrote:
Hello
Please tell me what is wrong with my code and how I can put an if else
statement inside of another if else statement
This is my code:
path = input('Which path number will you take?')
if path == '1':
print('You took the first path')
On 15/10/16 23:48, Nicholas Hopkins wrote:
> Please tell me what is wrong with my code and how I can put an if else
> statement
> inside of another if else statement
You are almost right but...
> This is my code:
> path = input('Which path number will you take?')
> if path == '1':
>
Hello
Please tell me what is wrong with my code and how I can put an if else
statement inside of another if else statement
This is my code:
path = input('Which path number will you take?')
if path == '1':
print('You took the first path')
elif path == '2':
print('You