Single Choice Moderate

Q" hi ".strip() এর ফল:

ID: #26374 Class - XII: SEMESTER – III: Unit – 1: Python Programming: Section 9: Strings 0 views
Question Info
#26374Q ID
ModerateDifficulty
Class - XII: SEMESTER – III: Unit – 1: Python Programming: Section 9: StringsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A "hi"
  • B " hi "
  • C "hi "
  • D " hi"
Correct Answer

Explanation

সঠিক উত্তরের ব্যাখ্যা:

strip() উভয় প্রান্তের স্পেস মোছে, তাই ফল 'hi'।

কেন অন্য বিকল্পগুলি ভুল:

  • বিকল্প B: স্পেস মুছে যায়।
  • বিকল্প C: ডান দিকের স্পেসও মোছে।
  • বিকল্প D: বাম দিকের স্পেসও মোছে।

Share This Question

Challenge a friend or share with your study group.