filmov
tv
60days python challenge #pythonforbeginners #pythonchallenge #pythonhub

Показать описание
⚠️check caption for more information⚠️⚠️
.
Bonus operation :::
.
---The modulo operator provides a convenient way to extract remainders and perform calculations based on cyclic or repetitive patterns.
--When the modulo operator is applied to two integers, let's say a and b, it returns the remainder when a is divided by b.
For example, if we have 10 % 3, the result would be 1 because 10 divided by 3 equals 3 with a remainder of 1.
.
Today's summary::🚀👨💻
Integer (int):
An integer is a whole number without any decimal point.
-- It can be positive, negative, or zero. In Python, integers are represented by the int data type.
--For example, x = 10 assigns the value 10 to the variable x, and y = -5 assigns the value -5 to the variable y.🔢
Float:
A float is a number with a decimal point or a number in exponential form.
-- It represents real numbers and is useful when working with values that require precision. In Python, floats are represented by the float data type.
--For example, pi = 3.14159 assigns the value of pi (approximately) to the variable pi, and num = 2.5e3 assigns the value 2500 to the variable num using exponential notation.
String (str): 📄
--A string is a sequence of characters enclosed in single quotes (' ') or double quotes (" "). It is used to represent text data in Python.
--- For example, name = "Alice" assigns the string "Alice" to the variable name, and message = 'Hello, world!' assigns the string "Hello, world!" to the variable message.
Boolean (bool):
-- A boolean data type represents truth values, either True or False.
---Booleans are useful for making logical comparisons and controlling program flow.
--- In Python, boolean values are represented by the bool data type.
For example, is_true = True assigns the value True to the variable is_true, and is_false = False assigns the value False to the variable is_false.
.
Today's Tasks:
1. Performing addition subtraction multiplication and division on integers and float numbers.
2. Checking type() function for True and false
3.Know about comments in python through Google.
Keep up with the learning guys.
Lets learn and grow together, 🚀👨💻.
.
.#python
#pythonhub #pythonprojects
.
Bonus operation :::
.
---The modulo operator provides a convenient way to extract remainders and perform calculations based on cyclic or repetitive patterns.
--When the modulo operator is applied to two integers, let's say a and b, it returns the remainder when a is divided by b.
For example, if we have 10 % 3, the result would be 1 because 10 divided by 3 equals 3 with a remainder of 1.
.
Today's summary::🚀👨💻
Integer (int):
An integer is a whole number without any decimal point.
-- It can be positive, negative, or zero. In Python, integers are represented by the int data type.
--For example, x = 10 assigns the value 10 to the variable x, and y = -5 assigns the value -5 to the variable y.🔢
Float:
A float is a number with a decimal point or a number in exponential form.
-- It represents real numbers and is useful when working with values that require precision. In Python, floats are represented by the float data type.
--For example, pi = 3.14159 assigns the value of pi (approximately) to the variable pi, and num = 2.5e3 assigns the value 2500 to the variable num using exponential notation.
String (str): 📄
--A string is a sequence of characters enclosed in single quotes (' ') or double quotes (" "). It is used to represent text data in Python.
--- For example, name = "Alice" assigns the string "Alice" to the variable name, and message = 'Hello, world!' assigns the string "Hello, world!" to the variable message.
Boolean (bool):
-- A boolean data type represents truth values, either True or False.
---Booleans are useful for making logical comparisons and controlling program flow.
--- In Python, boolean values are represented by the bool data type.
For example, is_true = True assigns the value True to the variable is_true, and is_false = False assigns the value False to the variable is_false.
.
Today's Tasks:
1. Performing addition subtraction multiplication and division on integers and float numbers.
2. Checking type() function for True and false
3.Know about comments in python through Google.
Keep up with the learning guys.
Lets learn and grow together, 🚀👨💻.
.
.#python
#pythonhub #pythonprojects