0% found this document useful (0 votes)
1 views3 pages

Class 11 Python Chapter 1 Colourful Notes

Uploaded by

indian subtitle
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views3 pages

Class 11 Python Chapter 1 Colourful Notes

Uploaded by

indian subtitle
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Getting Started with Python

Class XI Easy Colour Notes


Prepared for School Exam (JEE Friendly)

1. What is Python?

• High-level programming language.

• Developed by Guido van Rossum.

• Released in February 1991.

• Influenced by ABC and Modula-3.

2. Advantages of Python

• Easy to learn

• Expressive language

• Interpreted

• Cross-platform

• Free & Open Source

• Huge applications

3. Disadvantages

• Slower than compiled languages

• Dynamic typing

• Textbook: fewer libraries than C/Java/Perl

• Hard to convert to other languages


4. Interpreter vs Compiler

Interpreter: line by line, easy debugging.

Compiler: whole program at once, faster execution.

5. Interactive vs Script Mode


Interactive: one command at a time.

Script: save as .py and run complete program.

6. First Program

print("Hello World")

7. Comments

Start with # and are ignored by Python.

8. print()

Used to display output.

Example: print('Hello')

9. Important Points

File extension: .py

IDEs: IDLE, Spyder, PyCharm, Sublime Text

Quotes: single or double.


Quick Revision
• Guido van Rossum
• 1991
• High-level
• Interpreted
• .py extension
• print()
• # comment

You might also like