Hello people, is it ok to always use the indentation with 5 spaces below "if", "else" or "elif"? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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
1 Answer
+ 1
Thank you ~ swim ~ , I'll keep that on mind.
31st Jul 2019, 1:44 AM
Whally O.
Whally O. - avatar