Advertisements
Advertisements
प्रश्न
Write the output of the following:
num1, num2 = 2, 6
num1, num2 = num2, num1 + 2
print (num1, num2)एक पंक्ति में उत्तर
Advertisements
उत्तर
Output: 6, 4
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Write the output of the following:
num1, num2 = 2, 6
num1, num2 = num2, num1 + 2
print (num1, num2)Output: 6, 4