浏览代码

Fix print syntax

Borys Borysenko 9 年之前
父节点
当前提交
01011bade4
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      basics.md

+ 3 - 3
basics.md

@@ -283,13 +283,13 @@ Type and run the following program:
 ```python
 # Filename : var.py
 i = 5
-print i
+print(i)
 i = i + 1
-print i
+print(i)
 
 s = '''This is a multi-line string.
 This is the second line.'''
-print s
+print(s)
 ```
 
 Output: