第207页 | Learning Python | 阅读 ‧ 电子书库

同步阅读进度,多语言翻译,过滤屏幕蓝光,评论分享,更多完整功能,更好读书体验,试试 阅读 ‧ 电子书库

Test Your Knowledge: Quiz

 

 
Can the string find method be used to search a list?Can a string slice expression be used on a list?How would you convert a character to its ASCII integer code? How would you convert the other way, from an integer to a character?How might you go about changing a string in Python?Given a string S with the value "s,pa,m", name two ways to extract the two characters in the middle.How many characters are there in the string "a\nb\x1f\000d"?Why might you use the string module instead of string method calls?

请支持我们,让我们可以支付服务器费用。
使用微信支付打赏


上一页 · 目录下一页


下载 · 书页 · 阅读 ‧ 电子书库