Worksheetspython
Total questions: 13
Worksheet time: 4mins
What is CLI based?
graphical based
Boot based
Command line based
Windowed based
Web cam is _ based ?
arithmetic based
input based
output based
process based
Python was developed by ______
Guido van Rossum
Goido van Rossum
British Python Movie
Python snake
what will be the output of this question:-
a="gtreggreat"
print(a[5:])
error
gtreggreat
'great'
great
which is the string value? (note:- remember that there are multiple answers in this question.)
a="harsh"
a
a=a
a='tiger'
a=785
what will be the output of the given equation:-
a=((2*5)(3*10))/5
print(a)
8
60.0
error
45.0
300
what will be output of the given equation:-
a=[45,78,96,52,41,'harsh']
print(a.sort)
[41,45,52,78,96,'harsh']
[41,45,52,78,96]
error
['harsh']
'print' is a _
function
string
integer
class
which number is not an integer?
45
22
1.0
8
what will be the output of the given equation:-
print("c:\netflix\harsh\parr")
c:
etflix\harsh\parr
c:
netflix\harsh\parr
c:\
netflix\harsh\parr
error
for removing special meaning from a statement we can use:-
row string
raw string
string factors
it is not possible
if we have to remove point values after division we can use:-
//
**
remove()
\\
if we have to reverse the given list we can use:-
a=[1,2,3,4,5]
a.reverse()
a[-1:-4]
a.sort()
a.remove()
