#32273: python input


python123 (test.py)

學校 : 國立鳳山高級商工職業學校
編號 : 190656
來源 : [36.232.194.19]
最後登入時間 :
2024-04-21 03:36:58
b373. [福州19中]车厢重组 | From: [114.46.183.124] | 發表日期 : 2022-09-25 20:24

n = int(input())
a = []
while len(a) < n:
num = [int(i) for i in input().strip().split()]
for i in num:
a.append(i)
 
#34691: Re: python input


s11104220@school.saihs.edu.tw (施同學)

學校 : 臺北市立松山高級工農職業學校
編號 : 221254
來源 : [118.165.9.231]
最後登入時間 :
2024-05-08 17:55:21
b373. [福州19中]车厢重组 | From: [123.193.213.137] | 發表日期 : 2023-04-08 00:53

n = int(input())
a = []
while len(a) < n:
num = [int(i) for i in input().strip().split()]
for i in num:
a.append(i)

 

n=int(input())
s=[]
while len(s)!=n:
    s.extend(list(map(int,input().split())))
 
ZeroJudge Forum