Let’s start applying what we’ve learned. In this coding exercise, I want you to do the following:
- Create an object that is an integer
- Create an object that is a float
- Convert the integer to a float
- Convert the float to an integer
- Multiply the original integer by 3.
- Divide the result by 7. (Hint, you will need to create a new object to do this.)
- Figure out the remainder of 98 divided by 3.
- Figure out how many times 3 can be fully divided into 98.
If you get stuck, check out Lesson 04: Cheat Sheet. Once you’ve finished this, check out Lesson 04: Quiz.