We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
A couple of things. 1) They don't seem to want anything in 'input', so get rid of 'Enter a number: '. 2) I think you've got your operators the wrong way round. 3) Should be 'num', not 'n' in the last bit. Try:
Python If-Else
You are viewing a single comment's thread. Return to all comments →
A couple of things. 1) They don't seem to want anything in 'input', so get rid of 'Enter a number: '. 2) I think you've got your operators the wrong way round. 3) Should be 'num', not 'n' in the last bit. Try: