def zipZapZop():
number = int(input("Enter the number: "))
dictionary = {3: "zip", 5: "zap", 7: "zop"}
amount = 0<em> #amount of non-divisible numbers by 3, 5 and 7</em>
<em> for key, value in dictionary.items():</em>
if(number%key == 0): <em>#key is the number</em>
print(value) <em>#value can be or zip, or zap, or zop</em>
else: amount += 1 #the number of "amount" increases every time, when the number is not divisible by 3, or 5, or 7
if(amount == 3): print(number) <em>#if the number is not by any of them, then we should print the number</em>
zipZapZop()
The answer is "<span>performance statistics"......</span>
Answer:
it allows people to distract themselves from the things going on, it also entertains people
Explanation:
hope this helps
Answer:
And is the correct answer for the above question.
Explanation:
- And operator is an operator in the programming language which described two decisions in a single statement and it gives true if both the condition defined in the statement is true and it gives false if any of the conditions defined in the statement gives the false result.
- The above question-statement asked about that operator by which the user can write the two conditions in a single statement. Then the answer is And operator. One example for And operator in c language with if statement is-- if(a>=5&&a<=10), in which && symbols represents AND operator.