Python Programming Quiz

Python Programming Quiz
Spread the love

Python Programming Quiz, In this section you need to know about complete the python programming , Introduction of python programming. and how to write python programming.

Some Other python programming quiz


Created on By wefru

python Programming

python Programming

1 / 10

What is output for −' ' in 'python’?

2 / 10

What is output for following code

y =[4,5,1j]

sort ()


3 / 10

Pylab is a package that combine _______,________&______ into a single namespace.

4 / 10

Suppose we have a set a = {10,9,8,7}, and we execute a. remove (14) what will happen?

5 / 10

What will be the output of the following code?

deftotal (initial =5,*num,**key):

count = initial

for n in num:


for k in key:


return count

print (total (100,2,3, clouds=50, stars=100))

6 / 10

What happens in the below code?

class A:

def __in it__ (self, i=100):

self. I=i

class B(A):

def __init__ (self, j=0):


defmain ():

b=B ()

print (b.i)

print (b.j)

main ()

7 / 10

Best part is you can display images in various options in Python. Select the option where you can display an image

8 / 10

Which code can be used as an input dialog named ''Is this a character?

9 / 10

Which event among them is fired when the right mouse button is released?

10 / 10

What is the out of the code?

def rev_func (x, length):

print(x[length-1], end='''')

rev_func (x, length-1)

x= [11,12,13,14,15]


Your score is

The average score is 40%


Leave a Reply

Your email address will not be published.