i want to make a code (Lucky ticket, aka lottery) - with can generate random 6-dight number, after that - programm will check a list (with contain a lucky numbers for win: '11', '22', '33' and etc.) and say - are you win or not. But - theres one problem, i cant make if statement correctly, it always gives me error, not right result with i want. List are contain 9 values: luckynumber = '11', '22', '33', '44', '55', '66', '77', '88', '99'.
Aucun commentaire:
Enregistrer un commentaire