this code will produce SyntaxError, because there is
elif
without if
Error: File "***", line **
elif int(num) != 1 or int(num) != 2 or int(num) != 3:
^
SyntaxError: invalid syntax
Then, even if you fix it, this condition int(num) != 1 or int(num) != 2 or int(num) != 3:
is always true, because you use or
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs