首页 > 试题广场 >

What gets printed?() print r

[单选题]
What gets printed?()
print r"\nwoow"
  • new line then the string: woow
  • the text exactly like this: r"\nwoow"
  • the text like exactly like this: \nwoow
  • the letter r and then newline then the text: woow
  • the letter r then the text like this: nwoow


尝试是最好的学习方式,r的作用就是将转义字符作为普通字符处理

发表于 2018-12-12 11:07:30 回复(0)