If anyone say to “click this link for the explanation” do not click IT A VIRUS!!! be safe.
Answer.
1.Surge protection board
2.Uninterrupted Power Supply (UPS)
Explanation
A surge protection board is designed to protect equipment against a power surge or over voltage in power supply.A UPS provides back up power in occasions of power outage.In most events of power cut,UPS units only allow a person to save the work and perform a controlled shutting down of a computer.
Answer:
The solution code is written in Python 3
- firstStr = input("Enter first string: ")
- secondStr = input("Enter second string: ")
-
- if(firstStr < secondStr):
- print("The first string comes first alphabetically.")
- elif(firstStr > secondStr):
- print("The second string comes first alphabetically.")
- else:
- print("The first and second string are same")
Explanation:
Firstly, prompt the user to input two strings (Line 1 - 2).
Next create if else if statement to check if the firstStr is less than, greater than or equal to the secondStr and then print the appropriate message accordingly (Line 4- 9). For example, the program display message "The first string comes first alphabetically." if it find the firstStr is less than secondStr.