I am trying to write a couple of lines of code for a little program and I need to use an if else statement that uses user input to determine what response to give the user but the lines of code I am using will only give me the else response. Here is the code: What am I doing wrong?
N = input('NOW, ')
if: N == ('### REBOOTING ###')
print('Yes')
else:
print('no')
Aucun commentaire:
Enregistrer un commentaire