Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi there please help me fix the syntax error Write a program that prompts the user to enter a temperature in degrees Celsius. The program

Hi there

please help me fix the syntax errorimage text in transcribedimage text in transcribed

Write a program that prompts the user to enter a temperature in degrees Celsius. The program should then convert the temperature to degrees Fahrenheit. The formula for converting Celsius to Fahrenheit is: fahrenheit = 32 + (9/5) * celsius Print the result to two decimal places. For example: Input Result 19.5 Enter a degree in Celsius: 19.5 19.50 Celsius is 67.10 Fahrenheit. Answer: (penalty regime: 0, 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50 %) 1 celsius = round(int(input("Enter a degree in Celsius: ")), 2) fahrenheit = round(int((32 + (9 / 5) * celsius), 2) print(celsius, "Celsius is", fahrenheit, ".") mt Syntax Error(s) File "_tester__.python3", line 9 print(celsius, "Celsius is" , fahrenheit, ".") SyntaxError: invalid syntax Incorrect Marks for this submission: 0.00/1.00. This submission attracted a penalty of 0.20

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Technology And Management Computers And Information Processing Systems For Business

Authors: Robert C. Goldstein

1st Edition

0471887374, 978-0471887379

More Books

Students also viewed these Databases questions