fork download
  1. # your code goes here
  2. a=[rahul,tripathi]
  3. for i in a[0]:
  4. if i=='r':
  5. print ("Found")
  6. else:
  7. print ("Not Found")
  8.  
Runtime error #stdin #stdout #stderr 0.02s 28376KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 2, in <module>
NameError: name 'rahul' is not defined