From 9d41ca47f158c1258ea83198fce0326f7018d357 Mon Sep 17 00:00:00 2001 From: none2serious Date: Wed, 12 Dec 2018 10:25:59 -0500 Subject: [PATCH] Add Python 3.x print example (#24624) --- guide/english/python/files-and-io/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/english/python/files-and-io/index.md b/guide/english/python/files-and-io/index.md index 4d2288f97f2..421c7da8d55 100644 --- a/guide/english/python/files-and-io/index.md +++ b/guide/english/python/files-and-io/index.md @@ -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: ```