from livewires import *
rn = random_between(1,15)
rn1 = random_between(1,15)
print 'what is', rn , 'times', rn1 , read_number (': answer =') , ' answer is', ( rn * rn1 )
if (read_number (': answer =')) == ( rn * rn1 ):
print 'well done'
else:
print 'wrong'
Does anyone know why the 'read_number' function is executing a second time, it even executes if i try to give it a variable, any help would be much appreciated!