测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A31986. 执行下面Python代码后,⽂件ip.txt中的内容用记事本打开时显示为?( )with open("ip.txt", "w") as f: lst = ["202.206.224.21\n", "192.168.224.1\n"] f.writelines(lst)

单选题 较难

题目描述

执行下面Python代码后,⽂件ip.txt中的内容用记事本打开时显示为?( )

with open("ip.txt", "w") as f:

     lst = ["202.206.224.21\n", "192.168.224.1\n"]

     f.writelines(lst)

选项(单选)

上一题 下一题