i wrote a program that guesses number in the most effective way i could
think of but i keep running into endless loops any help fixing it would be
great :)
here it is:
def num(number):
r=input("range >")
ran=range(r+1)
guess=r/2
print guess
guesses=1
while guess!=number
hello i wrote a litle program ware you pick a number and the computer
guesses it and i recently decided to make it so it dosint reguess
numbers but now i get a error message
here is the program
def number(number):
from random import randrange
guess=randrange(number*2)
print guess
gues
hello i need a little help with a common multiple module i am haveing
problems with the best i can get it is to show the least common multiple i
think the problem is eather the and command ot the if command
# finds common multiples
def nums(a,b): # assigns numbers to a and b
print "enter