What will be the output of the following Python code? i = 1 while True: if i%3 == 0: break print(i) i + = 1Questions & Answers › Category: Programming Language › What will be the output of the following Python code? i = 1 while True: if i%3 == 0: break print(i) i + = 1 1 Vote Up Vote Down Geek Boy Staff asked 2 years ago What will be the output of the following Python code?i = 1 while True: if i%3 == 0: break print(i) i + = 1 a. 1 2 3 b. error c. 1 2 d. none of the mentionedShare this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...1 Answers 1 Vote Up Vote Down Geek Boy Staff answered 2 years ago b. error Explanation: SyntaxError, there shouldn’t be a space between + and = in +=.Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...