while - цикл x и т.д. - переменные while True: - без конца while x != 10: - пока x не равно 10 while input("") != x: - пока вписанное не равно x (строковые)
вывод в консоль будет такой: Danechka have 1 gey coin! Danechka have 2 gey coins! Danechka have 3 gey coins! Danechka have 4 gey coins! Danechka have 5 gey coins! Danechka is GEY
Выполнять цикл до тех пор пока x !=10
Спасибо