f = int(input("Enter a number: "))
if(f%7==0):
print("It's divisible by 7.")
else:
if(f<7):
print("7")
else:
print(str(f-(f%7))+", "+str(f+(7-(f%7))))
Answer:
True.
Explanation:
Microsoft Word refers to a word processing software application or program developed by Microsoft Inc. to enable its users to type, format and save text-based documents.
In Computer science, there are specific key combinations (short cut) that avail end users the opportunity to perform specific functions without having to go through a series of step.
For example, when you press the Alt button and function key 4 (F4) at the same time, it would close the current open window.
Hence, Alt + F4 is a short cut key that can be used to close a document in MS word.
Answer:
The answer is "except IOError:"
Explanation:
It is part of the exception handling, that stands for input/ output operation fails, this exception aeries when we attempting to access an anti-existent file, in the program so, it will give the program related errors.
- This type of error is handled in the try block, it also allows you to prepare the deal with the exceptional block.
- It also helps you to hide the bugs by using code, if you handle an unexpected error.
Explanation:
It's placed near the door. When a visitor presses the button, the bell rings inside alerting you that someone is at the door.