1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
MrRa [10]
1 year ago
3

Insert the degrees on before Fahrenheit in tip 1

Computers and Technology
1 answer:
Scilla [17]1 year ago
5 0

Using the knowledge in computational language in python it is possible to write a code that  convert temperatures to and from celsius, fahrenheit.

<h3>Writting the code:</h3>

<em>temp = input("Input the  temperature you like to convert? (e.g., 45F, 102C etc.) : ")</em>

<em>degree = int(temp[:-1])</em>

<em>i_convention = temp[-1]</em>

<em />

<em>if i_convention.upper() == "C":</em>

<em>  result = int(round((9 * degree) / 5 + 32))</em>

<em>  o_convention = "Fahrenheit"</em>

<em>elif i_convention.upper() == "F":</em>

<em>  result = int(round((degree - 32) * 5 / 9))</em>

<em>  o_convention = "Celsius"</em>

<em>else:</em>

<em>  print("Input proper convention.")</em>

<em>  quit()</em>

<em>print("The temperature in", o_convention, "is", result, "degrees.")</em>

See more about python at brainly.com/question/18502436

#SPJ1

You might be interested in
The ideal hash function:
Lorico [155]
I believe the answer is A
Hope this helps
7 0
3 years ago
Multiple Choice
natta225 [31]

Answer:

information technology

6 0
3 years ago
Read 2 more answers
ساعدوني على الإجابة على هذه الأسئلة
aleksandr82 [10.1K]

Answer:

Can you Translate for Russian or Eanglish

Explanation:

7 0
3 years ago
No links it’s just a normal question about iPhones.
Zolol [24]
I’ll give a you a good guess because I’ve only deleted a whole conversation like 3 times. I honestly feel like eventually there will be a warning on deleting the full conversation or on the other hand nothing may happen; or that it will automatically stop you from deleting the conversation.
6 0
3 years ago
Read carefully the underlined part of sentence 4 which may contain a mistake in punctuation, capitalization, or spelling. If you
inysia [295]

Answer:

weres part four? nation:

8 0
3 years ago
Other questions:
  • What is requirement analysis
    8·1 answer
  • A spreadsheet is a software program for storing, managing, and retrieving information. true or false?
    15·2 answers
  • You have a multi-domain Windows Server 2016 forest. You need to make a shared folder available to users from several domains. Wh
    6·1 answer
  • How do you bookmark a website in each of the internet browsers?
    9·1 answer
  • Heelp my brainly stuff says i am 49 but im 11 how to fix?X??
    7·1 answer
  • How are natural systems and engineered systems similar to one another?
    8·1 answer
  • Alicia uses a software application to store the names, email addresses, and phone numbers of her friends in alphabetical order. 
    11·1 answer
  • Write a program, called compute_stats.c, which opens a data file, called numbers.txt, which contains of a list of positive integ
    10·1 answer
  • Before her shift as a cashier at the grocery store, Carla pulls her hair back into a ponytail and makes sure her fingernails are
    15·2 answers
  • Does anyone know what this logo is??
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!