From 597f6e41c2c6d21c80da40ec7f5aa71239efd80e Mon Sep 17 00:00:00 2001 From: Satyam Bharti <44036099+satyambharti171@users.noreply.github.com> Date: Tue, 1 Oct 2019 16:02:31 +0530 Subject: [PATCH] Update Division --- Code/division.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Code/division.py b/Code/division.py index 65780fd..fce67b8 100644 --- a/Code/division.py +++ b/Code/division.py @@ -1,8 +1 @@ - -firstnum = int(input("First number: ")) -secondnum = int(input("Second number: ")) - -if secondnum == 0: - print("Division by zero illegal.") -else: - print("The result is " + str(firstnum/secondnum)) \ No newline at end of file +Print(input("Enter First Number: ")/input("Enter Second Number"))