top of page
Search

PYTHON QUIZ

  • Writer: waclaw_koscielniak
    waclaw_koscielniak
  • Jul 14
  • 1 min read

check1 = ['Learn', 'Quiz', 'Practice', 'Contribute']

check2 = check1

check3 = check1[:]

check2[0] = 'Code'

check3[1] = 'Mcq'

count = 0

for c in (check1, check2, check3):

if c[0] == 'Code':

count += 1

if c[1] == 'Mcq':

count += 10

print(count)


[Running] python3 -u "/Users/name/test/test89.py"

12

[Done] exited with code=0 in 0.054 seconds

Try to run it.
Try to run it.

















 
 
 

1 Comment


Guest
Jul 14

Try to run it.

Like
bottom of page