1.  int

2.  bool

3.  str

4.  String

4
Correct Answer :

str


Explanation :
No Explanation available for this question

1.  Heeeo

2.  Heelo

3.  Heleo

4.  None

4
Correct Answer :

Heeeo


Explanation :
No Explanation available for this question

1.  s[]

2.  s.getitem(3)

3.  s.__getitem__(3)

4.  s.getItem(3)

4
Correct Answer :

s.__getitem__(3)


Explanation :
No Explanation available for this question

1.  s.__len__()

2.  len(s)

3.  size(s)

4.  s.size()

4
Correct Answer :

s.__len__()


Explanation :
No Explanation available for this question

1.  obj.__str__()

2.  str(obj)

3.  print obj

4.  all of the mentioned

4
Correct Answer :

all of the mentioned


Explanation :
No Explanation available for this question

1.  s1.__contains__(s2)

2.  s2 in s1

3.  s1.contains(s2)

4.  si.in(s2)

4
Correct Answer :

s1.__contains__(s2)


Explanation :
No Explanation available for this question

1.  i.__add(j)

2.  i.__add__(j)

3.  i.__Add(j)

4.  i.__ADD(j)

4
Correct Answer :

i.__add__(j)


Explanation :
No Explanation available for this question

1.  True False

2.  True True

3.  False True

4.  False False

4
Correct Answer :

False True


Explanation :
No Explanation available for this question

1.  input(“Enter a string”)

2.  eval(input(“Enter a string”))

3.  enter(“Enter a string”)

4.  eval(enter(“Enter a string”))

4
Correct Answer :

input(“Enter a string”)


Explanation :
No Explanation available for this question

Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python