This program uses a conditional to determine if seafood is safe to consume.
IF (seafood = "mollusk" OR daysFrozen ≥ 7) { rating ← "safe" } ELSE { rating ← "unsafe" }
In which situations will rating be "safe"?
️Note that there may be multiple answers to this question.
Choose all answers that apply:Choose all answers that apply:
1. When sea food is mollusk and day frozen is 1
2.When sea food is mollusk and day froze is 9
3. When see food salmon and day frozen is 7
<em>Did that help?</em>
Answer:
Answer:
def main():
num = int(input("Input a number to check for prime: "))
if num > 1:
for i in range(2,num):
if (num % i) == 0:
print("%d is not a prime number" % num)
break
else:
print("%d is a prime number" % num)
break
else:
print("%d is not a prime number" % num)
if __name__ == "__main__":
main()
Explanation:
Solution retrieved from programiz.com.
Note, this program uses the idea of the Sieve of Eratosthenes to validate the input number by using the modulo operator to determine primeness.
The program will output to the user if the number input is indeed prime or not.
Cheers.
Explanation:
Answer:
The answer is "Option c"
Explanation:
Decisions made in secret have always been critical. Hence the want to express it before your choice is made. It is all about how you express choice. In general, they need your presentation to explain the choice that you decided, how they created it, and how it implies for just the group, that you are approaching, and wrong choices can be described as follows:
- In option a, It is used in the industry to interest.
- In option b, It is use in communication mechanism.
- In option d, It enables people to handle our activities or carry them out.
Answer:
https://www.w3resource.com/python-exercises/python-conditional-exercise-2.php
Answer:
The answer is "Option a".
Explanation:
The B.I. is a method, methodology, software, and development set that makes raw data usable and relevant, which facilitates improved decision-making and competitive opportunities, and certain choices were wrong, which can be described as follows:
- In option b, The A.I is uses in the machines, that's why it is not correct.
- In option c, It is used to analyze the data, which used in business. that's why it is not correct.
- In option d, It is wrong, because it a part of A.I.