okrek6 / LargestPrimeFactor

Write a Python program to find the largest prime factor of a given number. The prime factors of 330 are 2, 3, 5 and 11. Therefore 11 is the largest prime factor of 330. Sample Example: 330 = 2 × 3 × 5 × 11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LargestPrimeFactor

Write a Python program to find the largest prime factor of a given number. The prime factors of 330 are 2, 3, 5 and 11. Therefore 11 is the largest prime factor of 330. Sample Example: 330 = 2 × 3 × 5 × 11

About

Write a Python program to find the largest prime factor of a given number. The prime factors of 330 are 2, 3, 5 and 11. Therefore 11 is the largest prime factor of 330. Sample Example: 330 = 2 × 3 × 5 × 11

License:MIT License


Languages

Language:Python 100.0%