back

Python

back

Python is

Python is written in IDE


The  program that the programmer use  to type out and edit the code to edit the  program



>>> is the prompt


To run the code in the shell window


Output :

The result of the code is what you see after the code is run



>>>  print (“  Learn programming  “)

>> >Learn Programming

>>>



Shell window is great for running a piece of code


There is always a file extensions in the python

Comments is the place where we could write our comments

Single comment line starts and ends with #


Multiline end with the quotation mark for comments


Data types in python


Strings

Integers

Lists

Boolean values


List

An ordered sequence of values



String A data type that represents  text


Boolean


A Data type that represent either


The kind of value data is


After creating the variable we could reuse the variable many times





similar Posts