Sitemap
Operations Research Bit

Insights and applications of OR for the everyday reader. We publish articles on how to solve problems, improve decision-making, case studies, interviews, and tutorials. Accepting writers. ORB is a commercial subsidiary of Global Institute for Optimization TM 24'

Member-only story

Learn Python Programming with Examples — Post#2

7 min readNov 28, 2023

--

This Post is a ‘Day#2 Python course lesson’ dealing with a discussion about ‘Numbers’, ‘Variables’, ‘Operators’ and ‘Expressions’ that can be used in a ‘Python Scripted Code’. Even tough, our python course lessons are detailed in terms of learning to ‘code well’ in Python, the official Python scripting code ‘Specifications’ exist on the web link, ‘Python Docs’. The current version of Python, at the time of writing, is 3.12.

Python language is designed as an interpreter of the scripts code written by the user. Python is easy to code, and also, easy to learn in a short time. Unlike other languages like C, C++, C#, Java, Fortran and others, the compile option is not available in Python. The Python user is not expected to know any other language to script code in Python. Of course, the extension to the Python can be done using the ‘C’ language. Here, in our Posts, the Python extensions will not be discussed and such extensions knowledge is not required to code well in Python.

Numbers

We deal with (Digital) ‘Numbers’ in our daily life as in the Mathematics subject, and Python gives an equivalent meaning to ‘Numbers’. The user can find more discussion on ‘Numbers and Symbols’ topic as Lecture 1 Unit#3 under my ‘Numerical Methods and its Programming’ video course (under development) weblink.

--

--

Operations Research Bit
Operations Research Bit

Published in Operations Research Bit

Insights and applications of OR for the everyday reader. We publish articles on how to solve problems, improve decision-making, case studies, interviews, and tutorials. Accepting writers. ORB is a commercial subsidiary of Global Institute for Optimization TM 24'