Guess the number: Difference between revisions

m
→‎{{header|Python}}: fixed double header entry, added note about being off-task.
m (→‎{{header|Python}}: fixed double header entry, added note about being off-task.)
Line 2,814:
print("That's right!")</lang>
 
===Expanded Range, Auto-Interactive===
=={{header|Python}}==
<b>Note:</b> This is off-task, as there is no user interaction.<br/><br/>
<lang python>Program from Russia guesses 1 out of a billion<br/>
https://rextester.com/GWJFOO4393
<lang python>
 
import random #milliard.py
h1 = 0; h2 = 10**16; t = 0; f=0