机器人
积分排行榜
Scratch
积分排行榜
Python
在线答题
积分排行榜
活跃排行榜
打字练习
Microbit
C++
在线答题
积分排行榜
活跃排行榜
网盘
积分
未登录
未登录
登录学习
作者:
郑若扬
更新时间:
2024-04-16 16:06
浏览:
552次
点赞:
0次
热度:
20
""" import turtle as t t.speed(0) y = 0 for i in range(5): x = -80 + 20 * i for j in range(5,i,-1): t.circle(20) t.pu() t.goto(x,y) t.pd() x += 40 y -= 40 n = input() print(n[::-1]) print(len(n)) s = 0 n = input() s = 15 - len(n) print(s * "*",n,sep="") n = [3,6,9] s = list(eval(input())) t = 0 for i in range(3): t += n[i] * s[i] print(t) a = [1,3,5] js = 0 c = [a[0]] shu = a[0] #while len(c) <= a[2]-1: # shu = shu * a[1] # c.append(shu) #print(c) while 1: shu = shu * a[1] c.append(shu) if len(c) == a[2]: break c = list(map(str,c)) print(c) print(",".join(c)) """ """ c = [0,1] x = 0 while 1: s = c[x] + c[x+1] if s >= 100: break c.append(s) x += 1 c = list(map(str,c)) print(",".join(c)) """ """ s = 0 n = input() s = 15 - len(n) //2 print(s * "=",n,s * "=",sep="") """ a = "0123456789" n = "零一二三四五六七八九" c = "" b = input() for i in range(len(b)): if b[i] in a: c += n[i] else: c += b[i] print(c)
点赞成功
分享作品
×