Part 1. Definition
In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
Part 2. Example
7
Answer: Yes
Explanation: 7 is a prime number as it has no factors greater than 1. So, it can't be made by multiplying other whole numbers and the answer is 'Yes'.
Part 3. Exercise
50628
Answer:
No
Part 1. Definition
In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
Part 2. Example
7
Answer: Yes
Explanation: 7 is a prime number as it has no factors greater than 1. So, it can't be made by multiplying other whole numbers and the answer is 'Yes'.
Part 3. Exercise
50628
Answer:
user
No
assistant
Part 1. Definition
In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
Part 2. Example
7
Answer: Yes
Explanation: 7 is a prime number as it has no factors greater than 1. So, it can't be made by multiplying other whole numbers and the answer is 'Yes'.
Part 3. Exercise
50628
Answer:
No