Liberian Geek
  • How-To/Tips
  • Linux
  • Windows
  • Ubuntu
  • WordPress
  • Privacy
Select Page

Get difference between two lists with Unique Entries

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

In Python, lists are ordered data structure types that can be modified. As lists can be changed therefore we can apply operations to them. Getting the difference between two lists helps in a multitude of scenarios like carrying out data validation, co-relating and...

python – What do these operators mean (**, ^, %, //)?

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

Operators are used to manipulate data by performing a certain functionality on variables to get the results according to the user’s requirement. From the simplest programs to programs that require complex functionalities, operators are everywhere. Operators play a...

Python Class Constructor – Python __init__() Function

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

A programmer has to go through the concepts of object-oriented programming during their programming journey. Constructors are an essential part of object-oriented programming. A constructor enables to create and initialize the objects of a class. In Python, the class...

Python: How do I make a subclass from a superclass?

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

A class contains the sub-class. A class is considered a broader term and the subclass is derived from it. For example, an animal is a class; mammals, birds, and reptiles are the subclasses. Cats, dolphins, crows, sparrows, lizards, and snakes are further subclasses of...

What does the ‘b’ character do in front of a string literal?

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

A byte is a combination of eight bits while a string consists of a characters and a combination of these characters makes words and then sentences. These are easily comprehended by a human. However, a machine can only understand the binary information. To convert the...

How to Understand ‘%s’ in Python Format Strings

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

The “%s” symbol is widely used in Python. This symbol represents a placeholder. The %s symbol is used to concatenate a string with another string. In this post, we will be learning about this “%s” format used in Python. So let’s get started. How to Understand...
« Older Entries
Next Entries »

Looking For Something ?

About Us & Privacy Policy

  • About Us
  • Contact
  • Glossary
  • Privacy Policy
  • Home
  • About Us
  • Privacy
  • Contact
  • Facebook
  • X
  • Instagram
  • RSS

Designed by Elegant Themes | Powered by WordPress