import math a = float(input())b = float(input())c = (a**2 + b**2)**0.5print(c)
4 5
6.4031242374328485
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!