0

i am new to python programming so please help out.

This is my code;

emails=['me@gmail.com','you@hotmail.com','they@gmail.com']

for item in emails:
    if 'us' in item:
      print(item)
    else:
        print('nil')

i keep getting this error;

File ".\loop.py", line 6
else:
    ^ 
IndentationError: unindent does not match any outer indentation level
Lord Grim
  • 1
  • 1

0 Answers0