a = 122b = 22 while b != 0: dzielnik = b b = a % b a = dzielnik print("NWD =", a)
Standard input is empty
NWD = 2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!