subject

1temperature3.7 2 celsius = true 4 #you may modify the lines of code above, but don't move them ! 5 #when you submit your code, we'll change these lines to 6 #assign different values to the variables. 8 #above are given two variables. temperature is a float that 9#holds a temperature. celsius is a boolean that represents 10 #whether the temperature is in celsius; if it's false, then 11 #the given temperature is actually in fahrenheit. 12 # 13 #add some code below that prints "freezing" if the values 14 above represent a freezing temperature, and "not freezing" 15 #if they don't. 16 #in celsius, freezing is less than or equal to 0 degrees 17#. 18 #in fahrenheit, freezing is less than or equal to 32 degrees. 19 #add your code here! 20 if celsius: 21 if celsius< -0: print("freezing" ) 23 else: 2 4 25 if celsius: if temperature> 0:

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
Duplicating objects creates copies that a. move differently than the original object b. erase the original object c. look and act like the original object d. add events to a game
Answers: 1
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 09:30
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
You know the right answer?
1temperature3.7 2 celsius = true 4 #you may modify the lines of code above, but don't move them ! 5...
Questions
question
History, 06.05.2020 05:09
question
Mathematics, 06.05.2020 05:09
question
Mathematics, 06.05.2020 05:09
question
Mathematics, 06.05.2020 05:09
question
Mathematics, 06.05.2020 05:09
question
English, 06.05.2020 05:09
Questions on the website: 13722367