Examveda

What is the output of the following code:
string = "Python is fun"
print(string.split())

A. ['Python', 'is', 'fun']

B. Python is fun

C. P y t h o n i s f u n

D. ['Python is fun']

Answer: Option B


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python