+ 2

I think there should be a topic on INDENTATION in the python for beginners course

29th May 2021, 7:34 AM
Nwalozie Elijah
Nwalozie Elijah - avatar
5 Antworten
+ 6
Indentations are the clu of 🐍 code, they unify and standardize the code, free you from nightmarish curly brackets, begin... ...end, etc‼️In other languages, optional indentations are also necessary, otherwise the codes would be unreadable‼️ PEP 8 — the Style Guide for 🐍 Code https://pep8.org/
29th May 2021, 9:23 AM
Janusz Bujak 🇵🇱 🇺🇦
Janusz Bujak 🇵🇱 🇺🇦 - avatar
+ 4
Nope.... Lessons won't do it. Practice practice practice
29th May 2021, 8:31 AM
Oma Falk
Oma Falk - avatar
+ 3
Elijah Nwalozie Yes there should because people don't know there is something like that in python so they write code wrongly. I think there should be Coding Convention lesson in each language so people can understand how to write better code.
29th May 2021, 7:58 AM
A͢J
A͢J - avatar
0
Actually yes but no Because if there is a colon in the last statement then there should be indentation and they tell you like in the statement and classes and functions
29th May 2021, 7:44 AM
Eashan Morajkar
Eashan Morajkar - avatar