Question: Write a class called School that has two following methods: Method 1: __init__() that creates a string variable called student and initially sets it to
Write a class called School that has two following methods:
Method 1: __init__() that creates a string variable called student and initially sets it to Sara.
Method 2: print_hello() that prints a welcome message, e.g., Hello!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
