second chapter - control statements and conditions in python > Quiz
question 7 :
my output is coming as below:
m,y, ,n,a,m,e, ,i,s, ,x,
but correct answer showing in learnvern portal is - my, name, is, x
??
second chapter - control statements and conditions in python > Quiz
question 7 :
my output is coming as below:
m,y, ,n,a,m,e, ,i,s, ,x,
but correct answer showing in learnvern portal is - my, name, is, x
??
Can you show the code?
string = “my name is x”
for i in string: print(i,end=",")
output: m,y, ,n,a,m,e, ,i,s, ,x,