In this post, you will learn how to work with inheritance so that you can use that same knowledge and thus evolve. inheritance is a mechanism by which a class (subclass) can extend another class (superclass) to take advantage of its possible variables (attributes) and...
In this post, you will learn how to work with init so that you can use that same knowledge and thus evolve. init is basically a constructor and its function is to initialize everything that is necessary when creating a certain object. class Person: def...
In this post, you will learn how to work with classes and objects so that you can use that same knowledge and thus evolve. a class represents a set of objects, and defines their behavior through methods and which states it is able to maintain...
In this post, you will learn how to work with exceptions so that you can use that same knowledge and thus evolve. an exception is an event that occurs during the execution of a piece of code that interrupts its normal flow of instructions; in...
In this post, you will learn how to work with files (write and read) so that you can use that same knowledge and thus evolve. open(file, mode) Open the file write(text) Write on file read() Read the file content close(file) Close the file 'w' Write...
In this post, you will learn how to work with the date and time so that you can use that same knowledge and thus evolve. calendar(year) Returns a calendar of a certain year in read-only format month(year, month) Returns the chosen month of a certain...