- 1

Fill in the blanks to swap the variable values with one single statement. a=7 b=42 a,_b=_,_

25th Sep 2016, 9:49 AM
Humphrey Walton
Humphrey Walton - avatar
10 odpowiedzi
+ 7
a, b = b, a. tuple packing and unpacking in the same logical line. I love that language!
25th Sep 2016, 11:13 AM
Amaras A
Amaras A - avatar
+ 5
The answer is a = 7 b = 42 a,b = b, a
27th Jan 2019, 3:11 PM
Amani Bouguila
Amani Bouguila - avatar
+ 1
a,b=b,a.
25th Sep 2016, 12:31 PM
Gurtej Singh
Gurtej Singh - avatar
+ 1
Fill in the blanks to swap the variable values with one single statement. a = 7 b = 42 Answer :- a,b = b, a
29th Jun 2020, 7:18 AM
Gourav Tomar
Gourav Tomar - avatar
0
Clever
26th Sep 2016, 6:14 AM
Darth Vador
Darth Vador - avatar
0
a = 7 b = 42 a , b = b , a
18th Oct 2018, 10:44 AM
Joseph Simmonds
Joseph Simmonds - avatar
0
a, b=b,a
28th Apr 2020, 7:43 AM
Akshay Bharat Kumbhar
Akshay Bharat Kumbhar - avatar
0
a,b=b,a
11th May 2020, 5:20 PM
Rai
Rai - avatar
0
a,b=b,a
8th Jun 2020, 9:24 AM
gashaw desalegn
gashaw desalegn - avatar
0
The answer is a = 7 b = 42 a,b = b, a
1st Jul 2020, 5:37 PM
Faith Mundi
Faith Mundi - avatar