学习笔记(13):零基础掌握 Python 入门到实战-内置对象案例合集

立即学习:https://edu.csdn.net/course/play/26676/338783?utm_source=blogtoedu

round(要四舍五入的对象)

a.islower()判断字母的大小写。

大小写转换方法:

a.upper() 转换大写

A.lower() 转换小写

用户的所有输入都是不可靠的。

内置对象类型:

猜你喜欢

转载自blog.csdn.net/m0_49939521/article/details/108578193