jagomart
digital resources
picture1_Python Pdf 185133 | L23 Python1


 167x       Filetype PDF       File size 0.51 MB       Source: www.cs.auckland.ac.nz


File: Python Pdf 185133 | L23 Python1
python input output and variables lecture 23 compsci111 111g ss 2018 1 today s lecture what is python displaying text on screen using print variables numbers and basic arithmetic getting ...

icon picture PDF Filetype PDF | Posted on 01 Feb 2023 | 2 years ago
Partial capture of text on file.
                        Python – Input, output and 
                                                 variables
                         Lecture 23 – COMPSCI111/111G SS 2018
               1
            Today’s lecture
         What is Python?
         Displaying text on screen using print()
         Variables
         Numbers and basic arithmetic
         Getting input from keyboard using input()
        2
             What is a programming language?
         A formal language that specifies how to perform a 
          computational task
         Many programming languages exist:
           Visual Basic
           C and C++
           C#
           Java
           Python
         Python was created in 1989 by Guido Van Rossum in The 
          Netherlands
        3
              Statements
         A program consists of a series of commands called 
          statements
         They are generally executed (ie. run) in the order they appear
         The statements must be written correctly otherwise you will 
          get a syntax error
         Python programs are saved in files with the ‘.py’ extension
                                         1001 0011 1001 0100 0100 1110 
                                         1010 1011 1111 0000 0101 0000 
                                INTER    1010 0000 1011 0101 0101 0101 
                                         0100 0010 0000 1010 1000 1000 
                                PRETE    1111 1100 1001 0010 1010 1010 
                                  R      0100 0001 0100 1100 1010 0000 
                                         1001 0100 1001 0001 0010 0010 
                                         0000 1010 1010 1010 0100 0100 
                                         1001 0110 0100 1110 0001 0101
         4
The words contained in this file might help you see if this file matches what you are looking for:

...Python input output and variables lecture compsci g ss today s what is displaying text on screen using print numbers basic arithmetic getting from keyboard a programming language formal that specifies how to perform computational task many languages exist visual c java was created in by guido van rossum the netherlands statements program consists of series commands called they are generally executed ie run order appear must be written correctly otherwise you will get syntax error programs saved files with py extension inter prete r...

no reviews yet
Please Login to review.