Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is the output of this code? my _ list = [ 1 0 , 2 0 , 3 0 , 4 0 , 5

What is the output of this code?
my_list =[10,20,30,40,50,60]
for e in my_list:
if e /10%2==1:
print( e )
else:
print('100')
What is the output of this code?
my_list =[10,20,30,40,50,60]
for e in my_list:
if e /10%2==1:
print( e )
else:
print('100')
101003010050100
10100100100100100
103050
100201004010060

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

How flying airoplane?

Answered: 1 week ago