try:num = int(input("Enter a number: "))assert num % 2 == 0except:print("Not an even number!")else:r= 1/numprint(r)
word= "Ant"if word== "Bat":print("letter is Bat")elif letter == "Crownn":print("letter is Crown")elif word == "Ant":print("letter is Ant")else:print("letter isn't Ant, Bat or Crown")