Computers and Technology

Task 7: The following is a quiz program that asks the us- er to answer the question shown. There are 3 errors,
identify each error and correct them.
Q1= imput(" Which Zodiac Sign is coloured Green? A. Capricorn B. Virgo C. Cancer)
if Q1 == "A" :
print ("Incorrect")
elif Q1
print("Correct")
elif Q1 == "C":
print ("Incorrect")
else:
print ("Can you please answer the question?")

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 21:00, brockmorrison3468
Is it ok to use a does red wine clean the inside of a computer true or false
Answers: 2
image
Computers and Technology, 22.06.2019 03:00, seddy86
Consider this data sequence: "3 11 5 5 5 2 4 6 6 7 3 -8". any value that is the same as the immediately preceding value is considered a consecutive duplicate. in this example, there are three such consecutive duplicates: the 2nd and 3rd 5s and the second 6. note that the last 3 is not a consecutive duplicate because it was preceded by a 7. write some code that uses a loop to read such a sequence of non-negative integers , terminated by a negative number. when the code finishes executing, the number of consecutive duplicates encountered is printed. in this case, 3 would be printed. assume the availability of a variable, stdin, that references a scanner object associated with standard input. that is, stdin = new scanner(system. in); is given.
Answers: 1
image
Computers and Technology, 23.06.2019 20:30, cristalcastro901
If an appliance consumes 500 w of power and is left on for 5 hours, how much energy is used over this time period? a. 2.5 kwh b. 25 kwh c. 250 kwh d. 2500 kwh
Answers: 1
image
Computers and Technology, 24.06.2019 17:50, veneciaconton347
You will subnet the network address 172.31.103.0/24. the network has the following requirements: · room-114 lan will require 27 host ip addresses · room-279 lan will require 25 host ip addresses · room-312 lan will require 14 host ip addresses · room-407 lan will require 8 host ip addresses how many subnets are needed in the network topology?
Answers: 2
Do you know the correct answer?
Task 7: The following is a quiz program that asks the us- er to answer the question shown. There ar...

Questions in other subjects:

Konu
Business, 20.12.2021 22:40
Konu
Mathematics, 20.12.2021 22:40
Konu
Mathematics, 20.12.2021 22:40