作业第一题
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85
import time
sj=10
print("-"*10,"执行开始","-"*10)
for i in range(sj+1):
a="**"*i
b=".."*(sj-i)
c=(i/sj)*100
print("%{:^3.0f}[{}->{}]".format(c,a,b))
time.sleep(0.1)
print("-"*10,"加载完成","-"*10)
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85
1
Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in
/www/wwwroot/cytao.top/build/var/Widget/Archive.php on line
1617
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line
84
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line
85
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/www/wwwroot/cytao.top/build/var/Typecho/Request.php on line
310
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line
84
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line
85
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in
/www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line
65
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in
/www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line
65
评论 (0)