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






评论(0)


暂无数据
推荐帖子
2条评论
6条评论
7条评论