L Lâm Phung New member Sep 20, 2021 #1 Is the following Python code valid? Code: >>> a,b,c=1,2,3 >>> a,b,c A. Yes, [1,2,3] is printed B. No, invalid syntax C. Yes, (1,2,3) is printed D. 1 is printed
Is the following Python code valid? Code: >>> a,b,c=1,2,3 >>> a,b,c A. Yes, [1,2,3] is printed B. No, invalid syntax C. Yes, (1,2,3) is printed D. 1 is printed
S Sơn Lê Member Sep 20, 2021 #2 Answer: c Explanation: A tuple needn’t be enclosed in parenthesis. Upvote 0 Downvote