- 博客(1)
- 收藏
- 关注
原创 洛谷题单···(Python)
python:A+B问题: Python写a+b纠结的地方在于读入的是 : a 空格 b ; 用 import sys 这个模块 :可以分开空格 import sys a = input() b,c=a.split(' ') print(int(b)+int(c)) python:字符串大小写转换, a.upper() : 将字符串里的小写字母全部转换为大写字母 a.lower() :将字符串里的大写字母全部转换为小写字母 python:字符串转置, a=input() b="" i=le
2022-03-14 22:43:26 2162 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人