0

What does it mean to delimit a block of code?

Delimit meaning

30th Aug 2019, 8:29 AM
Alisha Aguasanta
Alisha Aguasanta - avatar
5 Answers
+ 4
From which programming language you are talking about? May beyou share te code with us?
30th Aug 2019, 8:38 AM
Lothar
Lothar - avatar
+ 2
Is it possible that they mean this: You have to set off the statements that are supposed to belong to a block of code, for example in an if branch. In Python you do this by 'indenting'. if 1==1: print(1) # belongs to if block print(2) # this too print(3) # but this doesn't. Details (just for reading, not for running): https://code.sololearn.com/cT5BRIbkia21/?ref=app
30th Aug 2019, 10:17 AM
HonFu
HonFu - avatar
+ 2
Thanks for the I fo HonFu!
30th Aug 2019, 10:37 AM
Alisha Aguasanta
Alisha Aguasanta - avatar
30th Aug 2019, 8:39 AM
Alisha Aguasanta
Alisha Aguasanta - avatar
0
I'm new to coding so I don't know what it means at all.
30th Aug 2019, 8:45 AM
Alisha Aguasanta
Alisha Aguasanta - avatar