subject

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":

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:10
When you reach a yield sign, yield to cross traffic and before you enter the intersection. a. flash your headlights b. wait for a signal c. wait five seconds d. wait for a safe gap
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most? a)give the file a unique name b)name the file in yymmdd format c)use descriptive name while naming the files d)use capital letters while naming the file
Answers: 3
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
20 points archie wants to use a reflector as he photographs a newlywed couple. what would he consider in his choice? a. shadow and sunny b. homemade and professional c. lamps and boards d. incident and reflected e. neutral density and enhancement
Answers: 3
You know the right answer?
Phase = "Full" distance = 228000 date = 31 eclipse = True #You may modify the lines of code above, b...
Questions
question
Advanced Placement (AP), 25.02.2021 18:50
question
English, 25.02.2021 18:50
question
Mathematics, 25.02.2021 18:50
Questions on the website: 13722363