logo

Crowdly

Browser

Add to Chrome

Question #26: What gets printed? ```python names1 = ['Alpha', 'Bravo', 'Ch...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Question #26: What gets printed?

```python

names1 = ['Alpha', 'Bravo', 'Charlie', 'Delta']

names2 = names1

names3 = names1[:]

names2[0] = 'Echo'

names3[1] = 'Foxtrot'

my_sum = 0

for ls in (names1, names2, names3):

if ls[0] == 'Echo': my_sum += 10 if ls[1] == 'Foxtrot': my_sum += 1 

print(my_sum)

```

More questions like this

Want instant access to all verified answers on moodle.ppke.hu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome