In the following piece of code that calculates the temperature in Fahrenheit, which piece would be most appropriate to develop a function for?

c = 100

print(c * 9/5 + 32)

c = 0

print(c * 9/5 + 32)

c = 30

print(c * 9/5 + 32)

a. print

b. c = 0

c. c * 9/5 + 32

d. c = 100

c. c * 9/5 + 32

The most appropriate piece to develop a function for in the given code would be the calculation itself:

c * 9/5 + 32

So, the answer is: c * 9/5 + 32