I wrote my code in python 3.8:
def max_magnitude(num1, num2):
    return num1 if abs(num1) > abs(num2) else num2
print(max_magnitude(-8,-2))
I hope this helps!
 
        
             
        
        
        
Try reinstalling the app or check if your wifi connection is good, if everything’s good but the app still doesn’t work then just use the website
        
             
        
        
        
Go to a different state as a migrant and then your a alien
        
                    
             
        
        
        
Explanation:
If your asking the program in modular programming of Q-Basic & in sub procedure then here it is.
I hope it will help you..
<em>-</em><em> </em><em>Regards</em><em> </em><em>Rishab</em><em>.</em><em>.</em>