Single Choice Moderate

Qকোনটি একটি string কে integer-এ রূপান্তর করে?

ID: #26317 Class - XII: SEMESTER – III: Unit – 1: Python Programming: Section 4: Expressions, statement, type conversion, and input/output 0 views
Question Info
#26317Q ID
ModerateDifficulty
Class - XII: SEMESTER – III: Unit – 1: Python Programming: Section 4: Expressions, statement, type conversion, and input/outputTopic

Choose the Best Option

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

  • A int()
  • B str()
  • C float()
  • D bool()
Correct Answer

Explanation

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

int() একটি বৈধ সংখ্যাসূচক string (বা float) কে integer-এ রূপান্তর করে।

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

  • বিকল্প B: str() টেক্সটে রূপান্তর করে।
  • বিকল্প C: float() দশমিকে রূপান্তর করে।
  • বিকল্প D: bool() True/False-এ রূপান্তর করে।

Share This Question

Challenge a friend or share with your study group.