到了 while 这里 就敲不过去了。。。。请教大神
>>> import random,easygui
>>> secret=random,randint(1,99)
Traceback (most recent call last):
File "<pyshell#36>", line 1, in <module>
secret=random,randint(1,99)
NameError: name 'randint' is not defined
>>> secret=random.randint(1,99)
>>> guess=0
>>> tries=0
>>> easygui.msgbox("""sdfasdfasfadsf""")
'OK'
>>> while guess !=secret and tries <6
SyntaxError: invalid syntax
>>> while guess!=secret and tries <6