From 5619ee6422410358da3186077fcf8024bb9e5c1d Mon Sep 17 00:00:00 2001 From: miao_kaibo Date: Mon, 14 Sep 2020 17:05:47 +0800 Subject: [PATCH 1/2] test --- test.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test.py diff --git a/test.py b/test.py new file mode 100644 index 0000000..9ca2eb9 --- /dev/null +++ b/test.py @@ -0,0 +1,6 @@ +#!/bin/evn python3 + +a="python" +print("a={0}".format(a)) +print("a={}".format(a)) +print("a=%s" % a) -- Gitee From c10187d050f52f047c7b245b55de8b575fab0edd Mon Sep 17 00:00:00 2001 From: miao_kaibo Date: Mon, 14 Sep 2020 17:11:31 +0800 Subject: [PATCH 2/2] test --- test.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 9ca2eb9..b6109f6 100644 --- a/test.py +++ b/test.py @@ -1,6 +1,9 @@ #!/bin/evn python3 a="python" -print("a={0}".format(a)) -print("a={}".format(a)) +b="c" +c="java" +d="php" +print("a={0},{1},{2}, {3}".format(a,b,c,d)) +print("a={},{},{},{}".format(a,b,c,d)) print("a=%s" % a) -- Gitee