0

Hello people, is it ok to always use the indentation with 5 spaces below "if", "else" or "elif"?

myexample = 'cantina' if myexample == 'cantinas': print("Same to cantinas") elif myexample == 'barras': print("Same to barras") elif myexample == 'cantina': print("Same to cantina") else: print("Let/'s go to other place")

30th Jul 2019, 8:36 PM
Whally O.
Whally O. - avatar
2 ответов
+ 1
Thank you ~ swim ~ , I'll keep that on mind.
31st Jul 2019, 1:44 AM
Whally O.
Whally O. - avatar