# python学习报告
class-1-print
整形 int 10,100
浮点形 float 1.2 3.520
字符串 string “abc"
print("hello world")
按住 shift+enter
运行语句
字符串+字符串运行
print("hello" + "123")
字符串转换类型计算
printf(int("1")+2)
输出结果为3
class-2运算符
// 取整
**是平方的效果
3 ** 2 运算结果是9
整数相除自动转换为浮点型
字符串相加
字符转换
# python学习报告
class-1-print
整形 int 10,100
浮点形 float 1.2 3.520
字符串 string “abc"
print("hello world")
按住 shift+enter
运行语句
字符串+字符串运行
print("hello" + "123")
字符串转换类型计算
printf(int("1")+2)
输出结果为3
class-2运算符
// 取整
**是平方的效果
3 ** 2 运算结果是9
整数相除自动转换为浮点型
字符串相加
字符转换