What is the difference between a class and function in Python?

Functions do specific things, classes are specific things . Classes often have methods, which are functions that are associated with a particular class, and do things associated with the thing that the class is – but if all you want is to do something, a function is all you need.28 Eyl 2015

Sizin İçin Seçtik  30000 000 Shiba kaç TL?

Leave a Reply

Your email address will not be published. Required fields are marked *