Print method in Python
- Metric Coders
- Apr 9, 2023
- 1 min read
Updated: Apr 19, 2023
The print() method is used to print the values in a console.

a = 200
print(a)
b = 300
print(a,b)
We can also use arithmetic operators to carry out mathematical operations inside the print method.
print(a+b)
print(a-b)
print(a*b)
print(a/b)
print(a%b)
The link to the Github repository is here .