Wpis z mikrobloga

679, teraz chyba ok... przecież takie zadania to kiedyś na porządku dziennym w szkole były, a teraz problem ma człek z logicznym myśleniem (_ )
@cheeseandonion:

Nudziło mi się ( ͡° ͜ʖ ͡°)

def is_correct(number: str):
n1, n2, n3 = number[0], number[1], number[2]

if (("1" in number and "4" not in number and "7" not in number and n1 != "1") or ("4" in number and "1" not in number and "7" not in number and n2 != "4") or ("7" in number and "1" not in number and "4" not in