9 lines
150 B
Text
9 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
|