I need to realize a complex if-elif-else statement in Python but I don\'t get it working.
The elif line I need has to check a variable for this conditions:
if ... # several checks ... elif not (1024<=var<=65535 or var == 80 or var == 443) # fail else ...