机器人
积分排行榜
Scratch
积分排行榜
Python
在线答题
积分排行榜
活跃排行榜
打字练习
Microbit
C++
在线答题
积分排行榜
活跃排行榜
网盘
积分
未登录
未登录
登录学习
作者:
朴时渊
更新时间:
2025-02-05 17:33
浏览:
253次
点赞:
0次
热度:
28
''' n=int(input()) if n>=90 : print('A') elif n<90 and n>=80 : print('B') elif n<80 and n>=70 : print('C') else: print('D') ''' ''' s=input() s1=eval(s) print(max(s1)) print(min(s1)) print(sum(s1)/len(s1)) ''' ''' n=eval(input()) h=n for i in range(10): n=n/2 h+=n*2 h-=n print(n) print(h) ''' ''' n=input() res=0 for i in range(1,int(n)+1): if str(i)==str(i)[::-1]: print(i) res+=1 print("*",res,sep="") ''' ''' year,month,day=input().split(".") months=[0,31,28,31,30,31,30,31,31,30,31,30,31] if year==2020: if month==5 and day>30: days=day-30 elif month>5: days=1+sum(months[6:month])+day elif year>2020: days=1+sum(months[6:]) for i in range(2021,year): if (i%4==0 and i%100!=0) or year%400==0: months[2]=29 else: months[2]=28 days+=sum(months) if month>=2: if(year%4==0 and year %100!=0) or year%400==0: months[2]=29 else: months[2]=28 day+sum(months[:month])+day '''
点赞成功
分享作品
×