7 things that you need to know before starting the python programming | Fundamentals of python

fundamentals of python

If you are a beginner and not much know about python programming but you want to start your python journey very smoothly and want to learn python programming but don't know where to start then this article is for you to understand the basic fundamentals of python that is used in your programming. And these fundamentals make your python journey very smooth because without knowing this you are not able to learn python programming. 

Python Keywords

Keywords are those words, who reserved in python, keywords that have a specific meaning for python interpreters. As you save keywords has a definite meaning for python interpreter.

So, given below in tables are keywords and python is case sensitive so, note that you have followed that table that given below.

False class finally is return
None continue for lambda try
True def from nonlocal while
and del global not with
as elif if or yield
assert else import pass
break except in raise


Identifiers mean anythings that have an identity. In python, programming identifiers are used to identify any variable or function.

There is a rule in python programming to naming an identifiers, so, list of rule is given below:
  • The name should begin with an uppercase or a lowercase alphabet or an underscore sign (_). This may be followed by any combination of characters a–z, A–Z, 0–9, or underscore (_). Thus, an identifier cannot start with a digit.
  • It can be of any length. (However, it is preferred to keep it short and meaningful).
  • It should not be a keyword or reserved word.
  • We cannot use special symbols like !, @, #, $, %, etc., in identifiers.


Variables are identifiers used to refer to any value that value may be a digit, maybe a string maybe another. So, variables are temporary storage, that can store some value. 


Comments are used to add remarks in the code. Significant to use the comment in code is that, comment help you to understand the code and can also help to remember some somethings.

Data types

Every value has belonged to specific data types. Figures have given below to see the types of data types.

Data types in python

  • Numbers
    • Integer
      • boolean
    • Floating
    • Complex
  • Sequences
    • Strings
    • Lists
    • Tuples
  • Set
  • None
  • Mapping
    • Dictionary

Difference between mutable And immutable data types

Mutable data types are those data types where value can be changed after assigned, while immutable data types are those that cannot change after assigned the value.


  • Lists
  • Dictionary
  • Integer
  • Float
  • Boolean
  • Complex
  • Strings
  • Tuples
  • Sets


Before start python, you need to know the above things because these are the fundamentals basic of python.

Next Post Previous Post
No Comment
Add Comment
comment url