This is the third lesson of Python tutorial. In this lesson we would talk about data types in Python exactly Numerics.
You can read the lesson here : https://bit.ly/2tgJuAI
There are 6 main categories of data in Python. Numerics, sequences, mappings instances, exceptions and classes.
As we said above, here we'll talk about Numerics.
Numerics class itself contains three other distinct subclasses integers, floating point numbers and complex numbers.
An integer is a number doesn't have a fractional part like -5,-3,-1,0,1,2,5...etc.
A floating point number is a number has a fractional part like -3.1,-2.5,0.01,4.5 ...etc.
A complex number is a number has a real and an imaginary part like 1+I,2+5i,5-6i...etc in programming we use "j" instead of "i" .
Here are operations could be applied on all numerics.
" + " addition
" - " substation
" * " multiplication
" / " division and
" ** " raising to power.
*****************************************************************
https://boardcode.blogspot.com/
/ boardcode-387065785376027
/ board_code
/ board__code
#python #python_tutorial #numerics
Sur cette page du site, vous pouvez voir la vidéo en ligne Python tutorial lesson 3 numerics durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur BoardCode 11 février 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 28 fois et il a aimé 3 téléspectateurs. Bon visionnage!