Home / Python Variable / How to Calculate Two Numerical Variables Using + Character in Python In this example we will show how to calculate two numerical variables using the + character in Python. Source Code num1 = 20 num2 = 18.6 print(num1 + num2) Output: 38.6