fix(guide): simplify directory structure

This commit is contained in:
Mrugesh Mohapatra
2018-10-16 21:26:13 +05:30
parent f989c28c52
commit da0df12ab7
35752 changed files with 0 additions and 317652 deletions

View File

@ -0,0 +1,21 @@
---
title: Classes
---
## Classes
A Class is a "blueprint" for creating objects: writing a class permits to describe attributes and behaviors commons to every instance of this class.
## Create a Class
To define a class the keyword **class** is used, followed by the name defining the class and a colon. All the following lines (code describing attributes and behaviors/methods) - are indented as in a Python function. For example, to create a class named Person, we can write:
`class Person:
<code describing attributes and behaviors/methods> `
Class definitions must be executed before they have any effect.
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->