Posts

Python-String Literals(N)

Image
Good Morning Boys Welcome to the 5th session of the online classes for Python Programing. -------------------------------------------------------------------------------------------------------------------------- Lets look at the  solutions for the Exercise given in the last session. 1.       happy_10 -  This is a valid identifier. 2.       For - This is a valid identifier because although "for" is a reserved word but because here it begins with capital f "F", it cannot be treated as a reserved word. User can use it as an identifier. 3.       for -  This is an invalid identifier because it is a reserved word. 4.       10find - This is an invalid identifier because it is begins with a number. 5.       Count-  This is a valid identifier as it conforms to the rules of making a valid identifier. 6.       Count 1 - This is an invalid identifi...

Python- Imp Terms

Image
Good Morning dear Students Welcome to the Computer Science session No. 4.   The Google meet ID for today's session is Meeting ID meet.google.com/tik-vcaq-iye  ------------------------------------------------------------------------------------------------------------ You are expected  to note the content shared on this blog in your notebook.  Home Work must be completed in your Computer Science Notebook. ---------------------------------------------------------------- By the end of this session, you will be able to Understand the two ways of executing Python program Write a simple Python program and execute the same. Familiarization with the basic components of a  Python program tokens keywords identifiers  Literals ____________________________________________________________________ Let us begin our session with the step by step explanation of the Practical question given as Home work - Fi...

Python-Modes

Image
Good Morning dear Students Welcome back to the Computer Science session No. 3 Let us take a quick recap of the previous session before we embark on the next. 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. Why Python? Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc). Python has a simple syntax similar to the English language. Python has syntax that allows developers to write programs with fewer lines than some other programming languages. Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick. Python can be treated in a procedural way, an object-orientated way or a functional way. ---------------------------------------------------------------- By the end of this session, you...