मराठी

Predict the output of the following Python code: text="Learn Python with fun and practice" print(text.partition("with")) print(text.count("a")) - Computer Science (Python)

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×