SchoolConnects

Other Chapters For 11th

  • 11th-class Economics Chapter 15

    Non -competitive markets is a chapter that briefly explains the different concepts of the...
  • 11th-class Economics Chapter 9

    The Chapters helps in : Identifying a problem or an area of study Choice of Target...
  • 11th-class Business Chapter 12

    International Business – II is a continual chapter of the previous chapter International...
  • 11th-class Biology Chapter 11

    Plant transport various substances like gases, minerals, water, hormone and organic solutes to...
  • 11th-class Accounts Chapter 15

    The following are used in accounting system using database management MS Access and its...
  • 11th-class Accounts Chapter 14

    A computerised accounting system is an accounting information system that processes the...
  • 11th-class Accounts Chapter 13

    A computerised accounting system is an accounting information system that processes the...
  • 11th-class Accounts Chapter 10

    Every company prepares Profit & Loss Account and Trading account (also known as an income...
  • 11th-class Accounts Chapter 4

    A small business may be able to recordall its transactions in one book only, i.e., the...
  • 11th-class Economics Chapter 14

    Market is a machanism or arrangement through which the buyers and sellers of a commodity or...

11th Class Chapter No 8 - Getting started with Python in Computers for CBSE NCERT

Python Install

Many PCs and Macs will have python already installed.

To check if you have python installed on a Windows PC, search in the start bar for Python or run the following on the Command Line (cmd.exe):

C:\Users\Your Name>python --version

To check if you have python installed on a Linux or Mac, then on linux open the command line or on Mac open the Terminal and type:

python --version

If you find that you do not have python installed on your computer, then you can download it for free from the following website: https://www.python.org/

Python Quickstart

Python is an interpreted programming language, this means that as a developer you write Python (.py) files in a text editor and then put those files into the python interpreter to be executed.

The way to run a python file is like this on the command line:

C:\Users\Your Name>python helloworld.py

Where "helloworld.py" is the name of your python file.

Let's write our first Python file, called helloworld.py, which can be done in any text editor.

helloworld.py

print("Hello, World!")

Simple as that. Save your file. Open your command line, navigate to the directory where you saved your file, and run:

C:\Users\Your Name>python helloworld.py

The output should read:

Hello, World!
Posted in 11th on July 28 2020 at 12:53 PM

CBSE NCERT 11th CLASS Computers OTHER CHAPTERS

  • 11th-class computers Chapter 13

    Python Collections (Arrays) There are four collection data types in the Python programming...
  • 11th-class computers Chapter 12

    String Literals String literals in python are surrounded by either single quotation marks, or...
  • 11th-class computers Chapter 11

    Till the time a condition is true (or False depending upon the loop), a set of statements are...
  • 11th-class Computers Chapter 9

    Operators are used to perform operations on variables and values. Python divides the...
  • 11th-class Computers Chapter 10

    A function is a block of code which only runs when it is called. You can pass data, known as...
  • 11th-class Computers Chapter 7

    Python is developed by Guido van Rossum. Guido van Rossum started implementing Python in 1989....
  • 11th-class Computers Chapter 6

    A flowchart is a graphical representation of an algorithm. Programmers often use it as a...
  • 11th-class Computers Chapter 5

    Stylistic Guidelines:Writing good program is a skill. This can be developed by using the...

Comments (0)

No login
×