Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
from livewires import * x= read_number() y= 1234 while x <> y: print read_number() Why wont the loop stop when i enter 1234 ? any help greatly appreciated! |
|
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 … |