Menu Close

Category: Embedded Programming Language

py

Functions main and __main__ 

In python, the main function is the start point for any program. The main function will only run when the file is run directly, not…

py

Python Functions 

What are functions? Why are they used? In python, functions are blocks of code that run when references. They are useful for reusing code rather…

py

Python input() Method

In Python, it is often useful to be able to take inputs from the user. These can be used for testing whether an algorithm works,…

py

Methods count(), len(), and find()

While the strip() and format() methods were important to know for working with python Strings, these methods are also very important. This article will discuss…

py

Methods strip() and format()

While working with Python strings, there can often be the need to remove the leading and trailing characters of a string or create strings with…

py

Python Try and Except Statements

Often in Python, there will be code that will throw exceptions. This is often not avoidable, so programmers use try and except statements to make…

py

Keywords break, continue, and pass

In python, there are exception cases where there empty conditionals are needed or breaking out of a while loop forcefully. The following article will explain…

py

For and While loops

Programmers often need to perform specific operations multiple times. For this, there are two types of loops for performing an operation multiple times. They are…

py

python Conditionals- if, elif, and else

Conditionals are absolutely necessary for any computer programming. Conditionals perform calculations depending on whether a condition evaluates True or False. However, else and elif extend…

py

Dictionaries

The main difference between dictionaries and lists or tuples is the indexes. While tuples and lists use only predetermined integer indexes, dictionaries can have custom…

py

Tuples and Lists

In python, tuples and lists are variables that store multiple items and values. The main difference between tuples and lists is that lists are mutable…

py

python Operators (and their uses)

In the world of computer science, operators are symbols that represent and perform a specific computational command. There are different operator types, and they each…

py

Python variables, and their datatypes

What is a variable? In computer science, variables represent memory locations, which store their own values. Variables are used to contain information and are essential…

py

Python for Beginners

Why Python? Python is a multi-paradigm programming language made by Guido Rossum in 1989, with an emphasis on code readability. It is currently the most…