Python

Logical operators

Jul 1,97

The logical operators in Python are used to combine the true or false values of variables (or expressions) so you …

Read More

Comparison operators

Jul 1,97

As their name suggests, the comparison operators in Python are used to compare one value to another. The result of a …

Read More

Arithmetic operators

Jul 1,97

The arithmetic operators in Python are used to perform math operations, such as addition, subtraction, multiplication, and division. Python also …

Read More

Get the current date and time

Jun 30,97

You can get the current date and time using Python. However, you will need to import a module called datetime. …

Read More

Strings

Jun 30,97

Strings in Python can be used to store a contiguous set of characters. To define a string, you simple type the characters …

Read More

Numeric variables

Jun 30,97

Numeric variables in Python are used to store numbers. Numbers are usually stored as integers, floating-point values, or complex numbers, depending …

Read More
Geek University 2022