Pycharm, spyder, vsiausl studio code, colab, Jupyter notebook

5+5
10
5*6
30
5/6
0.8333333333333334
x = 0.00005
type(x)
float
x = "5"
type(x)
str
x = 5+6*j
5 ==6
False
import keyword
keyword.kwlist
['False',
 'None',
 'True',
 'and',
 'as',
 'assert',
 'async',
 'await',
 'break',
 'class',
 'continue',
 'def',
 'del',
 'elif',
 'else',
 'except',
 'finally',
 'for',
 'from',
 'global',
 'if',
 'import',
 'in',
 'is',
 'lambda',
 'nonlocal',
 'not',
 'or',
 'pass',
 'raise',
 'return',
 'try',
 'while',
 'with',
 'yield']
if = 10
  File "/tmp/ipykernel_1243/182722112.py", line 1
    if = 10
       ^
SyntaxError: invalid syntax
print("qHello world ")
qHello world 

single line comments

m =1.0      # mass of a particle
v = 0.1     # velocity oif the particle
ke =0.5*m*v**2
print(ke)
0.005000000000000001

multi line comments

"""
program for computing kinetic energy

Author: MSC SC
Input:
m - mass
v - velocity
Output:
ke - kinetic energy
"""
m =1.0      # mass of a particle
v = 0.1     # velocity oif the particle
ke =0.5*m*v**2
print(ke)
1_x
  File "/tmp/ipykernel_1243/1738299962.py", line 1
    1_x
     ^
SyntaxError: invalid decimal literal
x_@
  File "/tmp/ipykernel_1243/316374006.py", line 1
    x_@
       ^
SyntaxError: invalid syntax
if= 100
  File "/tmp/ipykernel_1243/3861768938.py", line 1
    if= 100
      ^
SyntaxError: invalid syntax
=1
  File "/tmp/ipykernel_1243/3924221108.py", line 1
    =1
    ^
SyntaxError: invalid syntax
x1 =100
X1 = 101
x1
100
x_1=105