Revising the Difference between Methods and Functions
What's the difference between a function and a method?
mylist = [1,2,3,4]
mylist.pop()maxvalue = max([1,2,3,4])
print(maxvalue)myname()
def myname():
print("imtiaz")What is OOP?
Last updated