Computers and Technology

Phase = "Full" distance = 228000 date = 31 eclipse = True #You may modify the lines of code above, but don't move them! #When you Submit your code, we'll change these lines to #assign different values to the variables. #There are (at least) three special types of full moons: # # - Super Moon: the full moon occurs when the moon is at its # closest approach to earth (less than 230,000km away). # - Blue Moon: the second full moon in a calendar month. In # other words, any full moon on the 29th, 30th, or 31st of # a month. # - Blood Moon: a lunar eclipse during a full moon. # #Write a program that will print out the type of moon -- #"Full Moon", "Super Moon", "Blue Moon", "Blood Moon", based #on the values of the variables above. Note that for the moon #to be any of these special kinds of moons, it must also be #full. # #Note, though, that multiple modifiers can be true at the same #time. We could have a Super Blue Moon, a Blue Blood Moon, or #even a Super Blue Blood Moon. # #Always print those modifiers in that order. If any of these #special modifiers is present, do not include the word "Full". #If none of them are present, but the moon is Full, then print #"Full Moon". If none of them are present at all, print "Moon". #Add your code here!
if distance<230000 and phase- ="Full:
35 moontype = "Super"
36 elif date= = 29 or date==30 or date= =3l and phase=="Full":

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:20, gingerham1
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
image
Computers and Technology, 23.06.2019 14:30, bernicewhite156
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
image
Computers and Technology, 23.06.2019 23:30, issacurlyheadka
A. in packet tracer, only the server-pt device can act as a server. desktop or laptop pcs cannot act as a server. based on your studies so far, explain the client-server model.
Answers: 2
image
Computers and Technology, 24.06.2019 01:00, arturocarmena10
The initial tableau of a linear programming problem is given. use the simplex method to solve it. x 1 x 2 x 3 s 1 s 2 z 1 2 4 1 0 0 8 3 4 1 0 1 0 10 minus3 minus12 1 0 0 1 0 the maximum is nothing when x 1equals nothing, x 2equals nothing, x 3equals nothing, s 1equals3, and s 2equals0. (be sure to simplify to lowest terms if necessary.)
Answers: 2
Do you know the correct answer?
Phase = "Full" distance = 228000 date = 31 eclipse = True #You may modify the lines of code above, b...

Questions in other subjects:

Konu
Mathematics, 24.02.2021 01:00
Konu
History, 24.02.2021 01:00
Konu
Mathematics, 24.02.2021 01:00