Question
3.1 How many seconds are in an hour? Use the interactive interpreter as a calculator and multiply the number of seconds in a minute (60)
3.1 How many seconds are in an hour? Use the interactive interpreter as a calculator and multiply the number of seconds in a minute (60) by the number of minutes in an hour (also 60).
3.2 Assign the result from the previous task (seconds in an hour) to a variable called seconds_per_hour.
3.3 How many seconds are in a day? Use your seconds_per_hour variable.
3.4 Calculate seconds per day again, but this time save the result in a variable called seconds_per_day.
3.5 Divide seconds_per_day by seconds_per_hour. Use floating-point (/) division.
3.6 Divide seconds_per_day by seconds_per_hour, using integer (//) division. Did this number agree with the floating-point value from the previous question, aside from the final .0?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started