Advertisements
Advertisements
प्रश्न
Predict the output of the following Python code:
text="Learn Python with fun and practice"
print(text.partition("with"))
print(text.count("a"))अति संक्षिप्त उत्तर
Advertisements
उत्तर
('Learn Python ', 'with', ' fun and practice')
3
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
