Professional Documents
Culture Documents
Pitts Modern School, Gomia 2
Pitts Modern School, Gomia 2
SCHOOL,GOMIA
rishabhraj14373@gmail.com
Switch accounts
Draft saved
'abc' + 'abc'
'abc' * 3
'abc' + .3
'abc.lower()
Clear selection
1 point
[13579]
13579
1,3,5,7,9
(1,3,5,7,9)
False?
String is immutable.
None of these.
Clear selection
(a) s[3 : ]
(b) s[ : 3]
(c) s[-3 :]
Clear selection
following code ?
a) False True
Clear selection
A. 13
B. 14
C. 15
D. 16
Clear selection
result in an error?str1="python"
print(str1[2])
str1[1]="x"
print(str1[0:9])
Clear selection
Clear selection
add( )
append( )
extend( )
none of these
Clear selection
Clear selection
["Welcome to Pyhton]
None of above
Clear selection
(c) WahBhyiWah
(d) WahBhyiWaha
Clear selection
[1, 2] * 2
[1, 2, 2]
[1, 1, 2, 2]
[1, 2, 1, 2]
Clear selection
1 point
70251
15
Error
Clear selection
print(str1[-7:-12])
print(str1[-11:-7])
print(str1[-11:-6])
D. print(str1[-7:-11])
Clear selection
following?
'hello'
['hello']
hello
Clear selection
A. format
B. formatio
C. orma
D. ormat
Clear selection
Clear selection
Clear selection
Page 3 of 3
Forms