Commit 0d4dea2f by BellCodeEditor

auto save

parent 69b02976
Showing with 41 additions and 0 deletions
# class StudentStudy:
# def__init__(self,name,gender,city,want_salary):
# self.name = name
# self.gender = gender
# self.city = city
# self.want_salary = want_salary
# day print_studing_course(self,course_name):
# print('{}')
# def print_wnat_salary(self):
# print('{}死后的话iOS都会立刻{}',format(self.name,self.went_salary))
# xj = StudentStudy('fff,'的','官方',999)
# xj.print_studing_course('python顶顶顶')
class Employee:
def __inft__(self,name,work_years,city,salary,jop_name):
self.name = name
self.work_years = work_years
self.city = city
self.salary = salary
self.jop_name = jop_name
def print_year_salary(self):
print('{}法国国会和监控{}和',format(self.name,self.salary*12))
def print_year_salary(self):
print('{}法国国会和监控{}和',format(self.name,self.salary))
\ 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