Question: Please use Python Problem 1: 1.a Create a While loop to convert the following temperatures from Fahrenheit to Celsius Temp = [70, 75, 80, 85,

Please use Python

Problem 1:

1.a

Create a While loop to convert the following temperatures from Fahrenheit to Celsius

Temp = [70, 75, 80, 85, 90, 95, 100, 105, 110, 115]

Formula: c = (f-32) * (5/9)

where c = temperature in Celsius and f = temperature in Fahrenheit

1.b

Rewrite the above iteration using while loop as an iteration using For loop. Use range function as follows range(70, 120, 5)

Problem 2:

The FizzBuzz game: Write a Python program which iterates the integers from 1 to 50. For multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz" instead of the number. For numbers which are multiples of both three and five print "Bazinga".

You can use either While or For loops.

Sample Output :

1

2

Fizz

4

Buzz

Fizz

7

8

Fizz

Buzz

11

Fizz

13

14

Bazinga

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!