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 13:50
The instruction ishl (shift left integer) exists in jvm but not in ijvm. it uses the top two values on the stack, replacing the two with a single value, the result. the sec- ond-from-top word of the stack is the operand to be shifted. its content is shifted left by a value between 0 and 31, inclusive, depending on the value of the 5 least signifi- cant bits of the top word on the stack (the other 27 bits of the top word are ignored). zeros are shifted in from the right for as many bits as the shift count. the opcode for ishl is 120 (0x78).a. what is the arithmetic operation equivalent to shifting left with a count of 2? b. extend the microcode to include this instruction as a part of ijv.
Answers: 1
question
Computers and Technology, 22.06.2019 21:40
Develop a function to create a document in the mongodb database “city” in the collection “inspections.” be sure it can handle error conditions gracefully. a. input -> argument to function will be set of key/value pairs in the data type acceptable to the mongodb driver insert api call b. return -> true if successful insert else false (require a screenshot)
Answers: 2
question
Computers and Technology, 23.06.2019 01:00
Petrică, tânăr licean în clasa a ix-a, a primit în dar de la părinţii săi un cont bancar pentru micile sale cheltuieli curente. el este pasionat de internet banking şi îşi verifică cu grijă toate tranzacţiile efectuate. pentru creşterea securităţii tranzacţiilor online, banca îi furnizează lui petrică un număr pe care el va trebui să îl modifice, obţinând un număr tan – număr de autentificare a tranzacţiei (transaction authentication number). regula de obţinere a numărului tan este următoarea: se formează cel mai mic număr par din toate cifrele numărului furnizat de bancă. cerinţă cunoscând numărul n furnizat de bancă, să se determine numărul tan obţinut de petrică. date de intrare fişierul tan.in conţine pe prima linie numărul natural n cu semnificaţia din enunţ. date de ieşire fişierul de ieşire tan.out va conţine o singură linie pe care va fi scris numărul tan cerut. restricţii • 0 < n < 18*1018 • n are cel puţin o cifră pară • numărul tan obţinut nu poate conţine zerouri nesemnificative
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
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, 07.11.2020 03:50
question
Arts, 07.11.2020 04:00
question
Mathematics, 07.11.2020 04:00
question
Mathematics, 07.11.2020 04:00
question
Mathematics, 07.11.2020 04:00
Questions on the website: 13722360