Python 基本语法

打印 整型和字符串python print(3) # 打印整型 print('hello world') # 打印字符串 运行结果app 3 hello world 变量函数 var = 10 strVar = "hello world" bVar = True print(type(var)) print(type(strVar)) print(type(bVar)) 运行结果 ui
相关文章
相关标签/搜索