Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson14_1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0d4dea2f
authored
May 07, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
69b02976
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
hstfds.py
hstfds.py
0 → 100644
View file @
0d4dea2f
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment