0

\\What is the meaning of below description!!!

== if you dont understand == Python works with i like to call it "maps". maps contain of "blocks". all blocks have a statement and under it a block of code. This block needs a white-space (TAB). A map may look like this: if 1 == 1: print("True") if 1 !=2: print("True") See that i created two blocks with the statement if 1 == 1, and a block with the statement 1 != 2. everything under the statement is seperated with a TAB. and if you want to make a new map , just put it at the beginning of the line. if 1 == 1: print("True") if 1 !=2: print("True") print("this doesn't belong to the map") if 2.0 == 2: print("This is a new map") Hope you understand :D ==============================

20th Aug 2020, 3:12 AM
#challenger mg
#challenger mg - avatar
1 ответ
0
'Maps’ are basically blocks of code that are in a certain if or if..else or if..elif..else loop.
20th Aug 2020, 3:14 AM
Devansh Patil [INACTIVE]
Devansh Patil [INACTIVE] - avatar