why does if not operation == '/' or '*' or '+' or '-': give me a syntax error,

前端 未结 0 999
陌清茗
陌清茗 2021-01-25 09:04

if not operation == \'/\' or \'*\' or \'+\' or \'-\': print(\'not a valid answer, try again\') operation = (input(\'Please enter what operation you would like to do, / is divide

相关标签:
回答
  • 消灭零回复
提交回复
热议问题