- 博客(2)
- 收藏
- 关注
原创 Python学习记录(二) —— 字符串和函数
(四)字符串 分几行输入字符串,并且希望行尾的换行符自动包含到字符串当中,可以使用三对引号:"""..."""或'''...'''。 \n 换行 字符串的方法: ...
2020-02-16 23:23:26
176
原创 Python学习记录(一)
(一)运算符和表达式: 整数运算示例: n = int(input('enter the days:')) months = n // 30 days = n % 30 print('the months = {} the days = {}'.format(months,days)) print('the months = {} the days = {}'.format(*divmod...
2020-02-16 20:27:21
395
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人