Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

semicolon in python

#do multiple non-indented actions in one line
i = 1
if i == 1:
  print(i);print('That was the number');print(f'{i} was the number!')
 
PREVIOUS NEXT
Tagged: #semicolon #python
ADD COMMENT
Topic
Name
1+3 =