热门

最新

红包

立Flag

投票

同城

我的

发布
2303_80877253
2303_80877253
1 年前
true2303_80877253

这个该怎么写呢?还要补充点啥?
n = eval(input())
with open('text.txt', 'r', encoding='utf8') as f:
mark=True
for i in range(n):
txt = f.readline().replace('\n', '')
if txt:
if "A" == txt[0]:
print(txt)
mark=False
if mark:
print("not found")

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
当月原力248,继续努力
立即登录