Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
multiclass
c32team
Sep 21st, 2023
1,003
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.24 KB
| None
|
0
0
raw
download
clone
embed
print
report
diff
class
Animal:
def
say
(
self
)
:
print
(
'i am animal'
)
class
Cat
(
Animal
)
:
pass
class
Robot:
def
say
(
self
)
:
print
(
'i am robot'
)
class
RoboCat
(
Cat
,
Robot
)
:
pass
robo
=
RoboCat
(
)
robo.
say
(
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 1 min ago | 5.52 KB
Farm turtle
Lua | 20 min ago | 2.63 KB
Untitled
JavaScript | 59 min ago | 2.87 KB
XHyakumeX
Lua | 1 hour ago | 3.32 KB
"Interactive Game" rev_02
Arduino | 2 hours ago | 5.51 KB
**Game Interface** rev_01
Arduino | 2 hours ago | 5.51 KB
PHP OOP
PHP | 2 hours ago | 6.73 KB
BatalhaNavalSimplificada
Java | 2 hours ago | 5.42 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!