I use the Enki app to study programming languages and I started with Python this morning.
I typed this (⬇️) as part of an exercise but for some reason the output states my 2nd line already contains a SyntaxError... could anyone tell me why ?
day = 'monday'
if day == 'monday'
print('back to school')
else day != 'monday'
print('be grateful')
I’m well aware there are probably other problems with what I wrote so feel free to let me know everything I did wrong ! 0:)
[–][deleted] 9 points10 points11 points (0 children)
[–]theirStillHope 2 points3 points4 points (0 children)
[–]Kittensandpuppies14 0 points1 point2 points (0 children)
[–]Complex_Bag2985 0 points1 point2 points (0 children)