Posted by admin at May 28, 2020
String literals in python are surrounded by either single quotation marks, or double quotation marks. The following example shows a string contained within 2 quotation marks. We can also use single quotation marks: # Use single quotation marks for defining string: A string can be a combination of spaces and digits: # Digitals and spaces […]
ContinuePosted by admin at April 28, 2020
Jupyter Notebooks provide a balance of jotting down important summary information along with proving a live code development environment where we can write and run python code. working in notebook cells Markdown cells display text in a web page format. Markdown is code that formats the way the cell displays (this cell is Markdown) Code cells contain […]
ContinuePosted by admin at March 11, 2020
Introduction Like all high-level languages, Python is easy to read, takes less time to write, and is portable. This versatile programming language has two versions: Python 2 and Python 3. Wiki says: Python 2.x is legacy, Python 3.x is the present and future of the language. That is, Python 2 is no longer in development […]
ContinuePosted by admin at November 6, 2019
Say “Hello” to the world in Python Hi friends this is the simple introduction to python, in this post I try to explain what python is and how to write your first program in python. When learning a new programming language, it is customary to start with an “hello world” example. As simple as it […]
ContinuePosted by admin at
Write a program which will find all such numbers which are divisible by 7 but are not a multiple of 5, between 2000 and 3200 (both included). The numbers obtained should be printed in a comma-separated sequence on a single line. Write a program which can compute the factorial of a given numbers. With a […]
Continue