Posts

Showing posts with the label datatypes

Introduction to python(Installation of python,Python libraries,ASCII values,input and output statements)

Image
                                           Installation of python: Python is installed from c:\python27 Path variable has to be set in python file, inorder to run the program. Python features: Python is very supportive for data analytics. It has general public licence (GPL). It is a scripting language. It is an object oriented programming language. It is an open source language. Python libraries: NLP package. PIL(Python Image Library). Math Functions: 1)print() Use:It is used to print a statement or variable. Example: print ("hello world") Output: hello world 2)Data types: int           It includes all integers.eg.5,9,23 etc float           It includes all decimal values.eg. 2.7 ,4.0 etc str           It includes a group of alphabets.eg. hello ,won etc 3) type () Use:It is used to declare the data type. E...