MCQ Buddy
Search here...
  • Home
  • MCQ Feed
  • Add Question
  • Programming Portal
  • English Portal
  • Login
  1. Home
  2. Engineering
  3. Problem Solving and Python Programming
  4. Question

M

Mr. Dubey • 100.69K Points
Coach

Q. To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?

  • (A) s[]
  • (B) s.getitem(3)
  • (C) s. getitem (3)
  • (D) s.getitem(3)
  • Correct Answer - Option(C)
  • Views: 284
  • Filed under category Problem Solving and Python Programming
Share

Explanation by: Mr. Dubey
getitem(..) can be used to get character at index specified as parameter.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Related MCQs

Q. Select the view which is shown by object Object diagram.

Q. Definable groups of people who have an economic and/or social interest in the organisation are called

Q. In which of the following gates, the output is 1, if and only if at least one input is 1?

Q. If the channel is noiseless information conveyed is and if it is useless channel information conveyed is

Q. Database security helps organizations to protect data from

Q. Which of the following is not correct about an Exception?

Q. UML is stands for

Q. The Cookie manipulation is done using which property?

Q. Let the input of a subtractor is A and B then what the output will be if A = B?

Q. Type HTC applications are?


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Download

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • UC Quiz
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy
  • Get the source code

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger