Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
self
#python 3.5.2 class maheshmatti: no_of_fights=7 def printdetails(self): return f"role is {self.role} std is {self.school} and bahuballi loves {self.love}" bahuballi=(maheshmatti) bahuballi.role="aacha insan banna" bahuballi.school=10 bahuballi.love="dev sena" bahuballi.no_of_fights=10 print(maheshmatti.no_of_fights) print(bahuballi.printdetails())
run
|
edit
|
history
|
help
0
Prime Numbers : -> Conventional Method
guess123
Atur Cara Mizan 2
List comprehension, join, split, zip
try1
sum of odd numbers
Convert list into set
(P3) Starsza data
queue and stack
E