You can use Pass where Python requries some code but you don’t have any for that place currently, e.g.

if something == 1:
    pass
if something == 2:
    pass
else
    print("Wasn't valid")