Idk | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Idk

What does this symbol mean :

7th Jun 2020, 2:49 AM
Krazy Kenrat
Krazy Kenrat - avatar
2 Answers
+ 1
It's just a colon it is used whenever we want to use while/for loops or for functions.
7th Jun 2020, 2:54 AM
NEZ
NEZ - avatar
0
As AMOGHA. A. K. Said it is used to create block creation. Example Function block def print() : pass If block if x == 2: pass Class creation class Temp: pass It is also used into slicing and stepping. Example: print("the great saga"[1:5]) print("the great saga"[1:5:-1])
7th Jun 2020, 4:41 AM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar