हिंदी

Write the output of the following: num1, num2 = 2, 6 num1, num2 = num2, num1 + 2 print (num1, num2) - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Write the output of the following:

num1, num2 = 2, 6
num1, num2 = num2, num1 + 2
print (num1, num2)
एक पंक्ति में उत्तर

उत्तर

Output: 6, 4

shaalaa.com
Number
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: Getting Started with Python - Exercise [पृष्ठ ११६]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
अध्याय 5 Getting Started with Python
Exercise | Q 5. b) | पृष्ठ ११६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×