Answer:
for no.2 true and for Ctrl-Z False
Explanation:
Ctrl-z is and "undo" shortcut
not really sure about no.1 though, sorry :(
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:
find reliable resources
Explanation:
if you find reliable resources, than you might able to have more help i know im not answering..but im trynna help
Answer:
huge\color{blue}\boxed{The}\huge\color{pink}\boxed{Points