Creation of a new object

No worries! You're in the right place. :slight_smile:

Is this a homework question? If it is, I'd rather help guide you to the answer rather than do the work for you so that you learn something. Take a quick look at our homework policy: FAQ: Homework Policy.

What happens when you run the code you described? What are some error messages you're seeing? If you can provide a minimally reproducible example (FAQ: What's a reproducible example (`reprex`) and how do I create one?) I could get a better idea of what you're facing.