Posts

Showing posts from April, 2019

Python DATATYPES 02

Image
Python DATATYPES Print statement :              The   print()   function prints the specified message to the screen, or other standard output device. The message can be a string, or any other object, the object will be converted into a string before written to the screen. Syntax:  print( 'Hello world' )|  print( "Hello world" ) Datatype & Examples : Standard Data Types :              The data stored in memory can be of many types. For example, a person's age is stored as a numeric value and his or her address is stored as alphanumeric characters. Python has various standard data types that are used to define the operations possible on them and the storage method for each of them. Python has five standard data types Numbers ( int ) String ( str ) List ( list || [ ] ) Tuple ( " ( " ," ) " )  Dictionary ( { } ) Supported Datatype  Set Number: Python supports four different numerical types − int (sig