Цикли

while x == 8:

x = float(input('First number: '))   // відступ

print(x)