From 0c9d081b9398ed1c84b6497df90b55ddd816a6c4 Mon Sep 17 00:00:00 2001 From: dumbcoder2399 Date: Sun, 7 Oct 2018 15:40:50 +0530 Subject: [PATCH] added add_complex_nos --- Python/add_complex_nos.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Python/add_complex_nos.py diff --git a/Python/add_complex_nos.py b/Python/add_complex_nos.py new file mode 100644 index 000000000..d6451b7f8 --- /dev/null +++ b/Python/add_complex_nos.py @@ -0,0 +1,10 @@ +x1=int(input()) +y1=int(input()) +x2=int(input()) +y2=int(input()) + +x=x1+x2 +y=y1+y2 + + +print("%d + %di" % (x,y))