If all accounts you have have the same password, then if someone gets the password to one account, then that person has access to all your accounts.
Answer:
class Example:
def __init__(self, val):
self.val = val
def __gt__(self, other):
return self.val > other.val
def __sub__(self,other):
return abs(len(self.val) - len(other.val))
def main():
obj1 = Example('this is a string')
obj2 = Example('this is another one')
print(obj1 > obj2)
print(obj1 - obj2)
main()
\color{red}\underline{Output:}
Answer:
The answer to this question is given below in the explanation section.
Explanation:
In this given program there are two errors, first in line number 2 that stores a string value, not int. The second error is at line 6, a symbol "*" represents multiplication, not addition.
To solve these errors, in line #2, convert the input to an int variable value 1. To add the values of variables (value1 and value2), use the plus symbol "+" in the print statement at line #6.
The correct program is given below:
<em>value1= int(input("Enter first number: "))</em>
#get second number and store it into value2 variable.
<em>value2= int(input("Enter second number: "))</em>
#add the values store in variables (value1 and value2) and then print
<em>print (value1 + value2)</em>
Answer:
meeting is the correct answer
Answer:
css for styling.. means for making websites looks beautiful and attractive
Explanation:
html is like skeleton which defines websites structure whereas css is like cover to the skeleon.. css is responsible for fonts, colors, position of elements, responsiveness of websites.. it makes websites looks beautiful and prettier by adding background colors, hover effects, animation, etc