编程语言
首页 > 编程语言> > Python3 为变量赋值

Python3 为变量赋值

作者:互联网

Python3 为变量赋值

#!/usr/bin/python3

counter = 100          # An integer assignment
miles   = 1000.0       # A floating point
name    = "John"       # A string

print (counter)
print (miles)
print (name)

本文转载自:http://codingdict.com/article/19399

标签:name,counter,miles,print,赋值,Python3,变量
来源: https://www.cnblogs.com/bczd/p/12102549.html