8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7308e8b commit 3aae56cCopy full SHA for 3aae56c
py/doc_bar.py
@@ -0,0 +1,5 @@
1
+import time
2
+
3
+for i in range(101):
4
+ print("\r{:2}%".format(i), end="")
5
+ time.sleep(0.2)
py/week.py
@@ -0,0 +1,7 @@
+# printing a weekday depends on users' input
+week = "一二三四五六日"
+w = eval(input())
+print("星期" + week[w - 1])
+while 0<w<8:
6
+ w = eval(input())
7
+ print("星期" + week[w - 1])
0 commit comments