Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bad_indentation.py 380B

12345678910111213141516171819
  1. # pylint: disable=missing-docstring, pointless-statement
  2. from __future__ import print_function
  3. def totoo():
  4. print('malindented') # [bad-indentation]
  5. def tutuu():
  6. print('good indentation')
  7. def titii():
  8. 1 # and this. # [bad-indentation]
  9. def tataa(kdict):
  10. for key in ['1', '2', '3']:
  11. key = key.lower()
  12. if key in kdict:
  13. del kdict[key]