Q 1).Given a = 8, b = 9, c = 1. Evaluate the following Python expression :
a!=b or a>b and c ==1
Q2). How many times the following loop will be executed:
a = 10
while a<=100:
print(a)
a+=10
[KINDLY HELP]
Answers
Answered by
2
Answer:
Q1 )
True
False
True
Q2 )
10 times the loop will get executed
a = 10
10<=100 10 will be printed
and then increment a = a + 10 ---> a = 20
while 20<=100 goes on....
Output:
10 20 30 40 50 70 80 90 100
Answered by
0
Explanation:
this is the answer
hope it's help's you
Attachments:
Similar questions
Accountancy,
5 months ago
Math,
5 months ago
Math,
9 months ago
English,
9 months ago
Math,
1 year ago