while True: luku = int(input("Anna luku:")) if luku%2==0: print("Luku",luku,"on parillinen.") else: print("Luku",luku,"on pariton.")