LINES AND
INDENTATION:
v Most of the programming languages like C, C++,
Java use braces { } to define a block of code. But, python uses indentation.
v Blocks of code are denoted by line indentation.
v It is a space given to the block of codes
for class and function definitions or flow control.
a=3
b=1
if a>b:
print("a is
greater")
else:
print("b is
greater")
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.