names = []
for i in range(50):
name = input("姓名")
names.append(name)
if (name=="結束"):
break
names.pop()
for namee in names:
print(namee,end=" ")
print()
n = int(input())
print(names[-n])
這是我用Python寫的
想請問為什麼是N/A
謝謝