subject

What is the output of executing the code segment?

a, b, c = false, true, false

if a or b:

print('a', end = ' ')

else:

print('b', end = ' ')

if not b:

print('c', end = ' ' )

elif c :

print('d', end = ' ' )

else:

print('e', end = ' ' )

print()

a) a e

b) b e

c) a

d) none of the above

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topic? one clue is the type of web site it is--the domain name ".org" tells you that this site is run by a nonprofit organization.
Answers: 2
question
Computers and Technology, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print. wiki presentation paint desktop publishing
Answers: 3
question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 1
You know the right answer?
What is the output of executing the code segment?

a, b, c = false, true, false
Questions
question
Social Studies, 27.01.2021 21:00
question
SAT, 27.01.2021 21:00
question
Spanish, 27.01.2021 21:00
question
Chemistry, 27.01.2021 21:00