+ 1
How do you know when to use : and when to use ; ?
4 ответов
+ 2
I have never used ";"
":" is used when indenting, however.
+ 1
: you use after if and loop statements. Also after derining functions
0
I have seen : used when there's a block of code to be written below a statement like if x < y : or else: or class tree: it identifies a block of code below them. ; is used in other languages like c after statements of code
0
good question