Python Tutorials · Python Output
Print Numbers
Learn all about Print Numbers in this comprehensive tutorial.
5 min read beginner
- •You can also use the print() function to display numbers:
- •You can combine text and numbers in one output by separating them with a comma:
Print Numbers
You can also use the print() function to display numbers:
However, unlike text, we don't put numbers inside quotes:
python
You can also do math inside the print() function:
python
Mix Text and Numbers
You can combine text and numbers in one output by separating them with a comma:
python
Module quiz
Test your knowledge on this module
5 questions