Skip to content
Teste
  • AI Chat
  • Code
  • Report
  • # Search prime
    
    possible_prime = 512
    prime = True
    
    for i in range(2, possible_prime):
        if possible_prime/i - possible_prime//i == 0:
            prime = False
            print(f'{possible_prime} is NOT a prime number')
            break
    
    
    if prime is True:
        print(f'{possible_prime} is a prime number')
         
    Run cancelled