NEW
Font size
WorksheetsPython Semester 2
Total questions: 14
Worksheet time: 7mins
_?_ olan yere hangi kod gelmelidir ?
def
int
while
Yandaki kodun ekran çıktısı ne olur?
5
5 6 7 8 9
5 7 9
6 7 8 9
Yandaki kodun ekran çıktısı ne olur?
nothing
process opened
process closed
error
print(3**2) kodunun ekran çıktısı ne olur ?
3
6
9
1.5
print(5%2) kodunun ekran çıktısı ne olur ?
2.5
1.5
1
3
cities=("izmir","paris","roma")
cities[0]="istanbul"
print(cities[0])
Yukarıdaki kodun çıktısı ne olur ?
izmir
paris
istanbul
error
1 nolu alana hangi kod gelmelidir?
def
class
random
init
2 nolu alana hangi kod gelmelidir ?
for
if
def
while
3 nolu alana hangi kod gelmelidir ?
import
int
randint
str
4 nolu alana hangi kod gelmelidir ?
str
int
def
float
5 nolu alana hangi kod gelmelidir ?
input
for
def
6 nolu alana hangi kod gelmelidir ?
while
if
str
else
7 nolu alana hangi kod gelmelidir ?
if
for
elif
else
8 nolu alana hangi kod gelmelidir ?
else
elif
if
for
