NEW
Font size
WorksheetsU4 Strings, loops, and slicing - Python
Total questions: 13
Worksheet time: 7mins
What will the program below output:
fire
water
fire
water
None of these
What will the program below output:
good morning
good mornings
good mornings4
Error
What will the program below output:
earth
xarth
xaxth
Error
What will the program below output:
11
10
12
-1
What will the program below output:
3
3
3
10
10
10
What will the program below output:
arbok
ARBOK
There is no method called swapcase()
Error
What will the program below output:
arbok
ARBOK
Arbok
aRBOK
What will the program below output:
no
more
monkeys
jumping
on
the
bed
['no', 'more', 'monkeys', 'jumping', 'on', 'the', 'bed']
Incompatible types error
None of these
What will the program below output:
'no more monkeys'
' no more monkeys '
'nomoremonkeys'
n mr mnkys
What will the program below output:
wHAT THE hELLY
What the Helly
What the Sigma
What the Brainrot is going on
What will the program below output:
skellington
skelli
kellingto
error
What will the program below output:
ton
skelli
kellingto
gton
What will the program below output:
skelliton
skelli
skelli skelli
Error
