0

please How do I go about the error given in the code; "warV is not definited"

from time import sleep import os,sys def main(): print('started.....') class handler: def gt(self,warV): self.warV=warV("hello world") class flip(handler): for word in warV: if not "^!

quot; in warV: print("handler not available"+str(word)) break def tgt(freeze): freeze=5 while freeze: warV=warV.append(freeze) if tgt=='itels11': return freeze def __init__(tgt): return os.sys(freeze) sleep(10) if sleep==0: print ("sleeping. .....") class vcode(flip): def run(): return vbot=vcode() if __name__=="__main__": main()

8th Mar 2020, 10:34 PM
Sylencer
2 Answers
+ 2
for word in self.warV Instead of for word in warV You have to reference all of them as self.warV
9th Mar 2020, 2:05 AM
Zeke Williams
Zeke Williams - avatar
0
For line 9:
8th Mar 2020, 10:36 PM
Sylencer