- 博客(6)
- 收藏
- 关注
转载 Python 编程从入门到实践 课后练习2-9
love = 5201314 print('The number I like is :' + str(love) + '!') 转载于:https://www.cnblogs.com/lc1314/p/10113865.html
2018-12-13 14:33:00
186
转载 Python动手试试2-7
name = " xiaoluban\nhanxin\t\nmozi " print(name.strip()) ''' print(name.lstrip()) print(name.rstrip()) ''' 转载于:https://www.cnblogs.com/lc1314/p/10113369.html
2018-12-13 12:57:00
138
转载 Python 字母大小写的转换
1 name = "Ada Lovelace" 2 print(name.upper()) 3 print(name.lower()) 转载于:https://www.cnblogs.com/lc1314/p/10113131.html
2018-12-13 11:44:00
1290
转载 python 字符串拼接 以及名字首字母大写
first_name = "ada" last_name = "lovelace" full_name = first_name + " " + last_name message = "Hello," + full_name.title() + "!" print(message) 转载于:https://www.cnblogs.com/lc1314/p...
2018-12-13 11:42:00
1646
转载 python 名字首字母大写
1 name = "lv cheng" 2 print("Hello " + name.title() + ",would you like to learn some Python today?") 转载于:https://www.cnblogs.com/lc1314/p/10113092.html
2018-12-13 11:39:00
1664
转载 python 输出变量加双引号
1 famous_person = "Steve Jobs once said" 2 message = "You've got to find what you love" 3 yiqi = famous_person + ',''"'+message+'"' 4 print(yiqi) 转载于:https://www.cnblogs.com/lc1...
2018-12-13 11:35:00
3437
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人