Skip to content

Ronakkumar-dev/gcd-or-hcf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

gcd-or-hcf

x=int(input("enter first number")) y=in(input("enter second number")) if x>y: smaller=y else smaller=x for i in range(1,smaller+1) if((x%i==0) and (y%i==0)): gcd=i print("gcd is",i)

Releases

No releases published

Packages

No packages published