Author image

Jacob Stopak

13 Posts San Diego, CA Twitter Website
Jacob Stopak is a software developer and creator of InitialCommit.io - a site dedicated to teaching people how popular programs are coded. Its main project helps people learn Git at the code level.

Python: Print without Newline

In this article, we'll examine how to print a string without a newline character using Python.

In Python, the built-in print function is used to print content to the standard output, which is usually the console. By default, the print function adds a newline character at the end of the

Continue Reading

The Python Assert Statement

In this article, we'll examine how to use the assert statement in Python.

In Python, the assert statement is used to validate whether or not a condition is true, using the syntax:

assert <condition>

If the condition evaluates to True, the program continues executing as if nothing out

Continue Reading

The Python String strip() Function

In this article, we'll examine how to strip characters from both ends of a string in Python.

The built-in String type is an essential Python structure, and comes with a built-in set of methods to simplify working with text data. There are many situations in which a programmer may want

Continue Reading

The Python zip() Function

In this article, we'll examine how to use the built-in Python zip() function.

The zip() function is a Python built-in function that allows us to combine corresponding elements from multiple sequences into a single list of tuples. The sequences are the arguments accepted by the zip() function. Any number of

Continue Reading