Web Rap !! Yo Yo
August 8, 2010
Leave a comment
This is a must-watch for all the Web Developers! You will be amazed
Find the GCD of two very very large numbers
July 20, 2010
2 comments
Yes this is possible . Thank you python 🙂
t = int(raw_input()) while t: s = raw_input() a,b = [long(i) for i in s.split(' ')] while b : a,b = b,long(a%b) print a t =t - 1
Explanation:
The above code takes input of the number of tries you want to carry
out i.e ( t )
and then it accepts the numbers separated by a space
i.e 123123123123123 123123123123123123123123123
simple isn’t it? Yes …
Sample Input
1
123123123123 123123123123123123
Sample Output
123123
Categories: Code
30 digit numbers, gcd, gcd in python, large, numbers, python, very, very large numbers, very very large numbers
OpenHackDay – Bangalore (Successful)
July 7, 2010
Leave a comment
Pycon – National Python Conference
July 7, 2010
Leave a comment
MSRIT is proud to present second edition of Python Conference on 25th and 26th of September.
Details are available here