Commit 2edaffe3 by BellCodeEditor

save project

parent 64d07814
Showing with 12 additions and 0 deletions
class GuestCharacters:
def __init__(self,name,age,gender,level):
self.address='Guest'
self.name=name
self.age=age
self.gender=gender
self.level=level
Atna=GuestCharacters('Atna',19,'Female','*')
Betty=GuestCharacters('Betty',17,'Female','*')
print('Her name is '+Atna.name+'.')
print('Her name is '+Betty.name+'.')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment