FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
vcs/_4.python/function/CallModule.py at master · bunshue/vcs · GitHub
bunshue
/
vcs
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
3
Code
Issues
0
Pull requests
4
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
vcs
/
_4.python
/
function
/
CallModule.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
6 lines (5 loc) · 239 Bytes
Breadcrumbs
vcs
/
_4.python
/
function
/
CallModule.py
Copy path
File metadata and controls
6 lines (5 loc) · 239 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
from
areapackage2
.
Rectangle
import
Rectangle
from
areapackage2
.
Triangle
import
Triangle
triangle
=
Triangle
(
5
,
6
)
# 建立 triangle 物件
print
(
"矩形面積="
,
triangle
.
area
())
# 30
print
(
"三角形面積="
,
triangle
.
area2
())
# 15.0
Back
|
FazBrowse Home
|
New Git URL