Logo

Python Questions Set 64:

Quiz Mode

 Which of these in not a core data type? 

1
2
3
4

Solution:

Find the output of the following code:


l=[1,2,3,4,5,6,7,8]

del l[3]

print(l)

Solution:

t1=(1)

t2=(3,4)

print(t1)

print(t1+t2)

1
2
3
4

Solution:

 What is the output of the following code? 

 print(1, 2, 3, 4, sep='*')

1
2
3
4

Solution:

What is the output of the following code?

s = "abc"

s.upper()

print(s)

1
2
3
4

Solution:

What are the prerequisites required to learn Django?

1
2
3
4

Solution:

 

Which Of The Following Enclose The Input Parameters Or Arguments Of A Function?

1
2
3

Solution:

 

Which Of The Following Statements Are Correct?

1
2
3

Solution:

 

Which of the following Python codes will result in an error?



object = ‘a’

1
2
3
4

Solution:

Which of the following operations on the given dictionary will not result in an error?

Suppose dict1 = {"a": 4, "b": 5, "c": 6}

1
2
3
4

Solution: