Small script to determine the lucky ticket. For example, you drive on the tram and they give you a ticket. You enter the ticket number - 6 digits and find a happy or not. Lucky ticket - 123456 (1 + 2 + 3 = 6, 4 + 5 + 6 = 15 => 1 + 5 = 6 6 = 6) Not winning ticket - 234 678 (2 + 3 + 4 = 9 6 + 7 + 8 = 21 => 2 + 1 = 3, 9, = 3) Starting: python luckyticket.py