Problem 1
Make a class called Thing with no contents and print it. Then, create an object called example from this class and also print it. Are the printed values the same or different?
Problem 2
Make a new class called Thing2 and assign the value 'abc' to a class attribute called letters. Print letters.
Problem 3
Make yet another class called, of course, Thing3. This time, assign the value ' \(x y z\) ' to an instance (object) attribute called letters. Print letters. Do you need to make an object from the class to do this?
Problem 4
Make a class called Element, with instance attributes name, symbol, and number. Create an object of this class with the values 'Hydrogen', 'H', and 1.
Problem 9
Define three classes: Bear, Rabbit, and 0ctothorpe. For each, define only one method: eats(). This should return 'berries' (Bear), 'clover' (Rabbit), or 'campers' (0ctothorpe). Create one object from each and print what it eats.
Problem 10
Define these classes: Laser, Claw, and SmartPhone. Each has only one method: does(). This returns 'disintegrate' (Laser), 'crush' (claw), or 'ring' (SmartPhone). Then, define the class Robot that has one instance (object) of each of these. Define a does() method for the Robot that prints what its component objects do.