Enhance your understanding of Python operators with these practical exercises. Solve questions on arithmetic, logical, and comparison operators to test your skills and boost confidence.
Topic: operators
1. Create two variables `a` and `b` with values 15 and 4 respectively 2. Calculate and print: - Sum of a and b - Difference between a and b - Product of a and b - Quotient of a divided by b (float division) - Remainder of a divided by b - a raised to the power of b
No input required
19 11 60 3.75 3 50625
Convert 100° Fahrenheit to Celsius using the formula: C = (F - 32) * (5/9) 1. Create a variable `fahrenheit` with value 100 2. Calculate the celsius equivalent 3. Print the result rounded to 2 decimal places
No input required
37.78