Question: How would you explain the thought process of this code. It's to determine the greatest common divisitor of two numbers. M= int(input(Det frsta talet r:))

How would you explain the thought process of this code. It's to determine the greatest common divisitor of two numbers.
M= int(input("Det frsta talet r:")) N=int( input("Det andra talet r: ")) R=M%N while R : M=NN=RR=M%Nprint(SGD:,N) input("Press enter to exit")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
