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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
Donna and her team of five have invented a new gadget for the science exhibition in their college. which intellectual property right will protect their invention?
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
John recently worked on a project about various programming languages. he learned that though procedural language programs are useful, they have disadvantages too. what is a disadvantage of programs written in procedural languages? a. programs do not represent data complexity. b. programs take more time to execute. c. programs are prone to security threats. d. programs do not interface with multiple platforms.
Answers: 3
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
You know the right answer?
Phase = "Full" distance = 228000 date = 31 eclipse = True #You may modify the lines of code above, b...
Questions
question
English, 22.03.2021 21:50