B is the correct answer to ur questions
Answer:
def first_a(n):
lst1 =[x for x in range(1,n+1)if x%6==0 or x%11 ==0]
print(lst1)
Explanation:
Above is a function in python programming language. We have used list comprehension to check numbers that are multiples of 6 or 11 in a range.
When this function is called it will receive an argument (n) of type integer, a range will then be generated from 1 to n+1 since n is inclusive. The modulo operator is used to determine is a value is a multiple of 6 or 11, since their multiples will evaluate to 0
The message is lost when an FTP message is not delivered to its destination because FTP doesn't use a reliable delivery method.
<h3>What is FTP?</h3>
FTP is an abbreviation for file transfer protocol and it can be defined as a type of server that's designed and developed to store and provide files for download, as well as sharing between two or more users on an active computer network.
Generally, the message is lost when an FTP message is not delivered to its destination because FTP doesn't use a reliable delivery method.
Read more on FTP here: brainly.com/question/20602197
#SPJ12
Answer:
To protect a formula
Explanation:
One common example to apply cell protection to spreadsheet entries is to protect a formula used in the sheet to calculate payouts or rankings for example. A manager might want to share the results of the team to all its team and provides some ranking or other form of calculations in the sheet. He then needs to protect the formula so it's not altered by the team members or anyone else reviewing the file.
Multiple inheritance causes Diamond problem which happens when:
Class A is parent of class B and C
Now when class D will be inherited from both Class B and C it will have all the members of class A and B which if same will confuse the compiler to import which one?
C++ solves it by using virtual keyword with them and thus telling the compiler which one to inherit.
Java has introduced the interface concept rather then allowing multiple inheritance.