2023.5 路桥中学高一期末程序素养检测

2023.5 路桥中学高一期末程序素养检测
EraYes参考答案(个人编写)
A
1 | a, b = map(int, input().split( )) |
B
1 | print("%.2lf" %(float(input()) * 9 / 5 + 32)) |
C
1 | a = float(input()) |
D
1 | a = list(input()) |
E
1 | a, b, operator = input().split() |
F
1 | a = input() |
G
1 | a = list(input()) |
H
1 | a, b, c = map(int, input().split()) |
I
1 | a = list(map(float, (input().split(',')))) |
J
1 | print(__import__('datetime').datetime.strptime(input(),'%Y-%m-%d').timetuple().tm_yday) |
K
1 | def is_perfect_number(n): |
L
1 | n = int(input()) |
M
1 | n = int(input()) |
N
1 | a, n = map(int, input().split()) |
O
1 | m = int(input()) |






