What Will Be The Output Of The Following Python Codep Pre #203
What will be the output of the following Python code?</p> <pre><code class="language-python"> string = "my name is x" for i in string: print (i, end=", ")</code></pre>
This multiple choice question (MCQ) is related to the book/course
gs gs109 Python.
It can also be found in
gs gs109 While and For Loops - Python While & For Loops - Quiz No.6.
What will be the output of the following Python code?
string = "my name is x" for i in string: print (i, end=", ")
m, y, , n, a, m, e, , i, s, , x,
m, y, , n, a, m, e, , i, s, , x
my, name, is, x,
error