+ 2

Can anyone help me with my Python 3.0 code. I JUST CAN'T UNDERSTAND THESE INDENTATION RULES!!! Please help me out

I started Python 3.0 4 days ago... like half an hour a day. I know C++, Matlab, html, somewhat JavaScript and Css and Java.. I can't get hold of these INDENTATION RULES. Please help!!!

13th Apr 2020, 4:30 PM
υмαιя вυтт
υмαιя вυтт - avatar
14 Antworten
+ 3
Your welcome bro
14th Apr 2020, 5:51 AM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 2
Okkk
13th Apr 2020, 4:35 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 2
Just post the code or link to the code .......
13th Apr 2020, 4:42 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 2
Bro please use {} in your code , if you don't use them the a line just after the if or else statement are executed others are ignored , so please use in this format if { . . Your input output statements . }
13th Apr 2020, 4:51 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 1
😂 bro don't worry, just learn them once and practice them on challenges all doubt will be cleared https://www.sololearn.com/discuss/1670953/?ref=app https://www.sololearn.com/discuss/602949/?ref=app
13th Apr 2020, 4:32 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
14th Apr 2020, 5:24 AM
υмαιя вυтт
υмαιя вυтт - avatar
+ 1
Bro indentation is nothing but: Yaar aise samjho:- In c++: void myFunction() {   // code to be executed } ...................is same as................ void myFunction() {// code to be executed} Here. Function_declaration{function_definition}; Similarly indentation is {} in python doing same work...
15th Apr 2020, 4:48 PM
Aditya Narayan Chaurasia
Aditya Narayan Chaurasia - avatar
0
Yeh thanks man... Can you take a quick look at my code and tell me how to fix it?
13th Apr 2020, 4:34 PM
υмαιя вυтт
υмαιя вυтт - avatar
0
~ swim ~ Okay. Thanks. If you could look at my code and explain to me the error it would be great.
13th Apr 2020, 4:42 PM
υмαιя вυтт
υмαιя вυтт - avatar
13th Apr 2020, 4:45 PM
υмαιя вυтт
υмαιя вυтт - avatar