Logo

Python Questions Set 152:

Quiz Mode

What is the maximum possible length of a Python identifier?

1
2
3
4

Solution:

What will be the output of the following Python statement?

>>>"abcd"[2:]

1
2
3
4

Solution:

 

What will be the output of the following Python code?

  1. d = {"john":40, "peter":45}
  2. d["john"]

1
2
3
4

Solution:

What does WSGI stand for?

1
2
3
4

Solution:

From which class is a Django model derived?

1
2
3
4

Solution:

What does CGI stand for?

1
2
3
4

Solution:

Pick the correct statement

1
2
3
4

Solution:

Which statement about virtualenv is correct?

1
2
3
4

Solution:

What is the output of the given code?


tup=("a",1,"Abekus",20)

print (tup)

print (tup[1])

1
2
3
4

Solution: