React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in Python by
What is the output of the following?

string = "my name is x"
for i in string.split():
    print (i, end=", ")

a. m, y, , n, a, m, e, , i, s, , x,
b. error
c. my, name, is, x,
d. m, y, , n, a, m, e, , i, s, , x
Click here to read more about DevOps

1 Answer

0 votes
by

answer is a

m, y, , n, a, m, e, , i, s, , x,

Related questions

Madanswer
0 votes
asked Jun 13, 2019 in Python by Derya
0 votes
asked Jun 13, 2019 in Python by Derya
...