One Time
Two Time
Any Number of Time
we can not change the value of variable
Integer
Float
String
All of These
Variable
Literals
Identifiers
Comment
student
s12
123
_123
eval
nonlocal
assert
finally
.
#
/
?
What is the output of the following code?
a=set('abc') b=set('cdef') print(a&b)
{'c'}
{'a','b','c','d','e','r'}
{c}
None of these
pi
anonymous
lambda
none of the above
val
raise
try
with
What will be the output of the following Python code
def func(a, b=5, c=10): print('a is', a, 'and b is', b, 'and c is', c) func(13, 17) func(a=2, c=4) func(5,7,9)
(A) a is 13 and b is 15 and c is 10
a is 2 and b is 5 and c is 4
a is 5 and b is 7 and c is 9
(B) a is 13 and b is 17 and cis 10
a is 2 and b is 4 and c is 4
a is 5 and b is 9 and c is 7
(C) a is 13 and b is 17 and c is 10
a is 2 and b is 5 and cis 4
(D) None of the above
option A
option B
option C
option D
Integer a, b, c Set b= 5, a = 1 c= a & b Print c
1
3
5
7
get()
seek()
tell()
cur()
What will be the output of the following Python code?
def power(x, y=2): r=1 for i in range(y): r=r*x return r print(power(3)) print(power(3,3))
Option A
Option B
Option C
Option D
a_=3
_a=3
a?=3
All of these
Number
List
Slice
//
!
English
PHP
C
All of the above
1995
1972
1981
1991
\n
\t
\\
email
ca$h
marks10
Python2Shar