+ 1

Can anyone explain me this please

a, b= 7, 11 a=b b+=a print(b)

8th Jan 2022, 2:25 PM
Sevara
2 Answers
0
Sevara a, b = 7, 11 is known as multiple value assignment at single line So here a = 7 and b = 11 a = b #here single equal is used to assign value So we assigned value of b to a so a would be 11 Now b += a means b = b + a But a = 11 and b = 11 So b = 11 + 11 = 22
8th Jan 2022, 3:27 PM
AÍąJ
AÍąJ - avatar
0
Qisqacha qilib tushuntirganda B ni qiymatini a ga beryapdi
26th Mar 2022, 1:52 PM
Ismatov Ismatillo
Ismatov Ismatillo - avatar