Write a Python program to check whether a string starts with specified characters.

  • برمجة
  • برمجة بايثون

Write a Python program to check whether a string starts with specified characters. 

الأجوبة

string = "w3resource.com"
print(string.startswith("w3r"))
هل كان المحتوى مفيد؟

تبحث عن مدرس اونلاين؟

محتاج مساعدة باختيار المدرس الافضل؟ تواصل مع فريقنا الان لمساعدتك بتأمين افضل مدرس
ماهو التخصص الذي تبحث عنه؟
اكتب هنا...