liczba = int ( input ( "Podaj liczbÄ™:")) while liczba > 0: kolejna_cyfra = liczba % 10 print ( kolejna_cyfra) liczba = int (liczba/10) pay attention to the errors pythons shows!!!
liczba = int ( input ( "Podaj liczbÄ™"))while liczba > 0: kolejna_cyfra = liczba % 10 print ( kolejna_cyfra) liczba = int (liczba/10)
copy the above code you need to remove the colon and add underscore to kolejna cyfra
in the first line, you have added the : outside the quotation marks
change the first line to liczba = int ( input ( "Podaj liczbÄ™:"))
now it will work perfectly
First line of your code should replace with liczba = int ( input ( "Podaj liczbÄ™:"))
the variable name should not contain space .so replace the "kolejna cyfra" with another name which does not contain spaces and special symbols except underscore _.like "kolejnaCyfra" or "kolejna_cyfra"