🔰 Introduction to Python 🔰

  1. What is Python?
  2. Features Of Python
  3. Identifiers
  4. Keywords
  5. Variables
  6. Basic Data Type In python
  7. Summary for data types
  8. How to print something on console ?
  9. How to take input in python ?
  10. Comments in Python
  11. Type conversion in Python

Lets Start

  • Open source : Source code can be modified and redistributed as per user requirement.
  • Dynamic typed language : We don’t need to give the data type while writing the program, python will understand
    on it’s own.
  • Interpreted language : python is interpreted language. Python executes the code line by line if any error occurred, it halts the program.
  • Cross platform : The code working on Windows will also work on MAC and Unix, So it is cross platform.
  • It has wide range of libraries.
  • OOPS : python supports OOP(Object Oriented Programming) and POP(Procedure oriented Programming) both.
  • It is easy to learn.

* Identifiers :-

  1. Identifier can’t begin with digits. e.g. : 2name = “ram”(this is wrong).
  2. The identifier can only begin with underscore ( _ )or alphabets. e.g. n = 20, _a = 33 etc.
  3. Uppercase and lowercase identifiers are different. e.g. n = 20, N = 20 (both are different identifiers).
  4. Identifiers can have numbers, alphabets and underscore( _ ).
  5. No keyword should be used an identifier.
  • Keywords : -
  • Variable : -
  1. Integer : -
  • objects : object to the printed. * indicates that there may be more than one object
  • sep: objects are separated by sep. Default value: ' ' (optional)
  • end: end is printed at last (optional)
  • file : must be an object with write(string) method. If omitted, sys.stdout will be used which prints objects on the screen. (optional)
  • flush: If True, the stream is forcibly flushed. Default value: False (optional)
  1. Single line comment :
  1. Implicit type conversion (done automatically by compiler).
  2. Explicit type conversion (done exclusively by the user).




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Using SendGrid Webhooks to Implement a Client’s Platform

Maintaining Legacy Code

Goals I Intend to Achieve from Zuri Internship

From theoretical to practical bot: building out a LUIS vocabulary

What is TDD (Test Driven Development)? | How to do TDD with Example

How to deploy a database & wordpress on the top of Google Cloud Platform ( GCP )

Is Learning a Programming Language like Learning a Foreign Language?

Writing a built-in Tendermint Core app in Go

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rahul Kumar

Rahul Kumar

More from Medium

On-Balance Volume Indicator Algorithm in Python

Retries with Tenacity lib in Python

Retired Programmer Tries AI Programming in Python. 13) Development — Keyboard Operation

How to Generate 440 Hz A(La) Note Sin Wave with 44.1