Help 6/7


I need help with 6/7 I don't know what to do


Please provide your code.


I said I don't know what to do.


The instructions seem pretty straight-forward:

Last step: create an instance of your Account class called checking_account. Give it whatever name and starting balance you like!

If there's something you need explanation on, feel free to ask and we'll discuss it.


Creating an instance means invoking the .new() method on a class:


checking_account ="Wee Gillis",1_000_000)

If we study the initialize method of the Account class we see it takes two parameters, a name, and a balance. Now using the syntax illustrated above, go about creating your own instance.


I have one confusion it says " The :name and :balance attributes should be readable (but not writeable!)." what does that mean as through out the course we are changing the values of these attributes, also we can change name “Eric” to whatever we want.