Add Python 3.x print example (#24624)

This commit is contained in:
none2serious
2018-12-12 10:25:59 -05:00
committed by Manish Giri
parent 0842fa3737
commit 9d41ca47f1

View File

@ -18,6 +18,10 @@ Python has many ways of input and output operations. Some of the output operatio
Python provides the simplest way to produce output to the screen.
```python
print "Python is a powerful language.","It is easy to learn."
(Python 2.x)
print("Python is a powerful language.","It is easy to learn.")
(Python 3.x)
```
Output:
```