Answers for "semicolon in python"

3

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!')
Posted by: Guest on May-13-2021
1

semicolon python

x=1; y=1
Posted by: Guest on April-01-2020

Python Answers by Framework

Browse Popular Code Answers by Language