源代码:
点击运行
#!/usr/bin/python3 counter = 100 # 整型变量 miles = 1000.0 # 浮点型变量 name = "ossoft" # 字符串 print (counter) print (miles) print (name)
运行结果