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
2 questions1
Which of the following is true about Print Numbers?
2
What is the most common pitfall when working with Print Numbers?
Answer all questions to submit.