热线电话:13121318867

登录
2019-06-14 阅读量: 669
怎样声明多个变量并赋值?

一共有两种方式:

>>> a,b,c=3,4,5#This assigns 3, 4, and 5 to a, b, and c respectively

>>> a=b=c=3#This assigns 3 to a, b, and c

28.9848
3
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子