why does my python have a red highlight at the close inverted comma when I type [ 'odd' ]?
It says that there is an invalid syntex
if you only type ['odd'] into python shell and then hit enter it will respond with ['odd'], is there any more to this?
Oh im sorry i did not mention this but i was following lecture 2. the notations seem to be in order but when i clicked F5 the error occured.
please upload the code...using pastebin.com etc .... it will be easier to interpret the problem
pastebin.com/42yvGTxy when i did that exact code 3 hours ago there was a syntex error at the very last ' (the one after the Odd)
you have not used : in the if statement
Oh! next to the 0? thank you so so much buddy!
also i more error you have not closed the input statement also
yup yup that was a typo :$ thank you!
welcome...
Join our real-time social learning platform and learn together with your friends!