DAY13:Python Basics

DAY13:Python Basics

What is Python.?

Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.

It is used for:

  • web development (server-side),

  • software development,

  • mathematics,

  • system scripting.

Python installation:

Data Types in Python:

There are different types of data types in Python. Some built-in Python data types are:

    • Numeric data types: int, float, long,complex(e.g. 10, 51924361L, 0.0,3.14j)

      * String data types: str (e.g. str = 'Hello World!')

      * Sequence types: list(list,tuple, range)

      syntax:parrot_list=['blue','red','green']

      syntax:thistuple=("apple", "banana" ,"cherry")

      syntax:even= list(range(0,10,2))

      * Binary types: bytes, bytearray, memoryview

      * Mapping data type: dict(thisdict = {"brand":"ford" ,"model" : "mustang"}

      * Boolean type: bool(e.g.conditional true/false)

      * Set data types: set, frozenset(myset = {"apple" ,"banana" ,"cherry"}

Thank you for reading!! Hope you find this helpful.

#day13challenge#90daysofdevops

Always open for suggestions..!!

Thankyou Shubham Londhe !!