हिंदी

Write the Python statement for the following task using the BUILT-IN function/method only: To check whether a string named, message ends with a full stop/period or not. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Write the Python statement for the following task using the BUILT-IN function/method only:

To check whether a string named, message ends with a full stop/period or not.

एक पंक्ति में उत्तर
Advertisements

उत्तर

message.endswith('.')
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×