Is the following Python code valid?
>>> a=(1,2,3)>>> b=('A','B','C')>>> c=tuple(zip(a,b))
>>> a=(1,2,3)>>> b=('A','B','C')>>> c=tuple(zip(a,b))Is the following Python code valid?
>>> a=(1,2,3)>>> b=('A','B','C')>>> c=tuple(zip(a,b)) Correct Answer Yes, c will be ((1, 'A'), (2, 'B'), (3, 'C'))
মোঃ আরিফুল ইসলাম
Feb 20, 2025