I'm beginning in programming and using Pycharm. I adopted 79 lines as maximous line length. But now I don't know if using an extra tab to indent the next line, since the previous line is already indented under the first. This shows what I mean:
I can use this:
if len(word) % 2 == 1:
cent = len(word) // 2
if (word[cent] == 'a' or word[cent] == 'e' or word[cent] == 'i'
or word[cent] == 'o' or word[cent] == 'u'):
print('The word's center is a lowercase vowel')
Or this:
if len(word) % 2 == 1:
cent = len(word) // 2
if (word[cent] == 'a' or word[cent] == 'e' or word[cent] == 'i'
or word[cent] == 'o' or word[cent] == 'u'):
print('The word's center is a lowercase vowel')
Either ways worked.
So, is there a convention for these situation. Thanks all in advance! Have a great day :)