What does a comma do in a python assignment

前端 未结 3 936
遇见更好的自我
遇见更好的自我 2021-01-27 08:10

I have basic knowledge in c++ and I got an assignment to read a code it python and rewrite it in c++. I\'m not familiar with python so I\'m sorry for any newbie Q :).

In

3条回答
  •  耶瑟儿~
    2021-01-27 08:41

    You should have two values for each variables.

    b,a= 5,5
    print (a,b)
    

    I am sure your method is returning two values.

提交回复
热议问题