想从字符串 s = “beautiful”中打印出字母”a”,请问应该用以下哪种方式?
print(s[3])
print(s[a])
print(s[2])
print(s[-2])
微信小程序
微信扫一扫体验
微信公众账号
微信扫一扫加关注
发表评论 取消回复