Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
shivareddy correct
#python 3.5.2 class arjunreddy: action_scenes=16 def __init__(self, act1,age1,act2,act3): self.act=act1 self.age=age1 self.actt=act2 self.acttt=act3 @classmethod def change_scenes(cls,new_action): cls.action_scenes=new_action shiva=arjunreddy("shout",50,"cry","laugh") shiva.change_scenes(99) print(shiva.action_scenes)
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Print lists separated by comma
floating point limitations
Hello
Temp
teste
Faiha Lesson 1, 2020: Python Basics
EJ2_PYTHON_20.321.212-7
learn
pip install pyowm==2.7.1
Celcius to Fahrenheit
Please log in to post a comment.