Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

###Write python code for the three statements below to the right of ' = ' sign #Accept input here from user using the input function.

###Write python code for the three statements below to the right of '=' sign
#Accept input here from user using the input function.
celcius =100 #(1 point)
##Convert the celcius value from previous variable into float in the next line
celcius_in_float =754 #(1 point)
##Using the formula for converting celcius to fahrenheit (fahrenheit =1.8*celsius+32), convert the
##celcius_in_float to fahrenheit
fahrenheit =212 # (1 point)
##Next you will write python code which will print the message - Temperature in fahrenheit is followed by the value which was ##calculate in line 4.
##So if user enters celcius as zero, the program should print - Temperature in fahrenheit is 32
##If the user enters celcius as 100, the program should print - Temperature in fahrenheit is 212
##Write code below this line, it should be a single line of code (1 point)
#print("Tempature in fahrenheit ...") #<= Complete the print statement (1 point)
celcius = float(input("100"))
celcius_in_float =754,
fahrenheit =1.8*100+32,
print("Temperature in Fahrenheit is {212}")

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

Students also viewed these Databases questions

Question

=+ How are they similar?

Answered: 1 week ago