Python Questions and Answers – While and For Loops – 4
This set of Python Questions and Answers for Freshers focuses on “While and For Loops – 4”. 1. What will be the output of the following Python code? x = 123 for i in x: print(i) a) 1 2 3 b) 123 c) error d) none of the mentioned 2. What will be the output … Read more