a,b = map(float,input().split())pe = (a+b)*2s = a*bprint('%.2f,%.2f'%(pe,s))
6.5 4.2
21.40,27.30
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!