DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Numbers — Example 24

Quick explanation + ready code for: Numbers.

Python Numbers Back to examples
Back to language
Syntax: Numbers in Python. ID: #24

Code

a = 13
b = 14
print("sum=", a+b, "mul=", a*b)

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.