PyCharm shows “PEP8: expected 2 blank lines, found 1”

Just add another line between your function definitions :

1 line :

2 lines:

Leave a Comment