gdscript while loop
var fuel = 1000
var speed = 0
while fuel > 0:
speed += 0.12
fuel -= 1
print("Top speed = ", speed)
Dentetsu
var fuel = 1000
var speed = 0
while fuel > 0:
speed += 0.12
fuel -= 1
print("Top speed = ", speed)