0
How do I use If and Else
I JUST WANNA LEARN
3 Answers
+ 4
If(somthing inside here is true){execute the content that's inside this body and ignore the else statement}
else{ if the above if statement is false ignore and execute the content inside this body instead}
+ 1
if username == 'Admin':
print('hello welcome back')
else:
print('who are you')