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")
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.