Skip to content

Commit d537497

Browse files
committed
Update "Simple Caluclator" example source file
* Remove unneeded empty lines * Add printing functions for write a newline to console for better visuality Signed-off-by: Ercan Ersoy <ercanersoy@ercanersoy.net>
1 parent 1303960 commit d537497

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

simple-calculator/simple-calculator.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
print("4. Division")
66
print("5. Exit")
77
choice = input("Your choice: ")
8+
print()
89

910
if choice == "1":
1011
first_addend = float(input("First addend: "))
@@ -30,5 +31,5 @@
3031
break
3132
else:
3233
print("Wrong choice!")
33-
34-
34+
35+
print()

0 commit comments

Comments
 (0)