Examveda

To return the length of string s what command do we execute?

A. s.__len__()

B. len(s)

C. size(s)

D. s.size()

Answer: Option A


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Comments (1)

  1. Vishakha Singh
    Vishakha Singh:
    2 months ago

    It is B

Related Questions on Strings in Python