Improved Code and removed warnings (#482)

Improved Code and removed warnings
This commit is contained in:
Parth Shandilya
2018-10-19 13:28:21 +05:30
committed by GitHub
parent fedb3e70ab
commit 07451a6ca4
14 changed files with 33 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ Problem:
The prime factors of 13195 are 5,7,13 and 29. What is the largest prime factor of a given number N?
e.g. for 10, largest prime factor = 5. For 17, largest prime factor = 17.
'''
from __future__ import print_function
from __future__ import print_function, division
import math