You are on page 1of 1

The video discusses about the Logical operators on python and how it becomes

whether true or false. The Logical operators in Python includes ‘and’, ‘not’, lastly is ‘or’.
The ‘and’ can be used if only both of the operands are true, if one is false then all of it
becomes false. The ‘or’ can be used even if one of the operand is false, it is still true. It
can only be false if both of the operands are false. Also, in the ‘or gate’, the man made
used of a marriage logic map in order to show us how the ‘or’ logical operator works,
these shows that Laura is always right in every scenarios and when both of them is
wrong then Don is wrong, which is quite a funny thing in the video. Overall, not only the
video is funny, and entertaining but it quite informative as well.

Can we use Python Arithmetic Operations on strings? Explain

Based on the videos I previously watched, python can use arithmetic operation but is
limited to addition and multiplication, other operation results to error. If we use addition
for example in python on strings this is how it is operated, x = “Goodmorning”
y = “toyou” ------ print(x+y), it output will become “Goodmorningtoyou”. From my
example and others example, we can get the conclusion that Python allows performing
arithmetic operations on strings.

You might also like