Advertisements
Advertisements
प्रश्न
Consider the following string myAddress:
myAddress = "WZ-1, New Ganga Nagar, New Delhi"
What will be the output of the following string operation:
print(myAddress.partition(','))
एका वाक्यात उत्तर
Advertisements
उत्तर
('WZ-1' , ', ', 'New Ganga Nagar, New Delhi')
shaalaa.com
String Method and Built-in Functions in Python
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 8: Strings - Exercise [पृष्ठ १८८]
