+ 2
Idk
What does this symbol mean :
3 Respostas
+ 1
It's just a colon it is used whenever we want to use while/for loops or for functions.
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])