RosettaCodeData/Task/Guess-the-number/MiniScript/guess-the-number.mini
2023-07-01 13:44:08 -04:00

8 lines
150 B
Text

num = ceil(rnd*10)
while true
x = val(input("Your guess?"))
if x == num then
print "Well guessed!"
break
end if
end while