| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent dccda47 commit 5ab0e1b
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,4 +2,4 @@ | |||
| 2 | 2 | ||
| 3 | 3 | # simple argument echo script | |
| 4 | 4 | for v in sys.argv[1:]: | |
| 5 | - print v | ||
| 5 | + print(v) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,4 +2,4 @@ | |||
| 2 | 2 | ||
| 3 | 3 | # simple JSON echo script | |
| 4 | 4 | for line in sys.stdin: | |
| 5 | - print json.dumps(json.loads(line)) | ||
| 5 | + print(json.dumps(json.loads(line))) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,4 +2,4 @@ | |||
| 2 | 2 | ||
| 3 | 3 | # simple JSON echo script | |
| 4 | 4 | for line in sys.stdin: | |
| 5 | - print line[:-1] | ||
| 5 | + print(line[:-1]) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | # simple error script | |
| 2 | 2 | ||
| 3 | 3 | def divide_by_zero(): | |
| 4 | - print 1/0 | ||
| 4 | + print(1/0) | ||
| 5 | 5 | ||
| 6 | 6 | divide_by_zero() | |
| Back | FazBrowse Home | New Git URL |
0 commit comments