diff --git a/src/secondopinion.py b/src/secondopinion.py new file mode 100644 index 0000000..da03de2 --- /dev/null +++ b/src/secondopinion.py @@ -0,0 +1,6 @@ +s = int(input()) +h = s // 3600 +s = s % 3600 +m = s // 60 +s = s % 60 +print(f"{h} : {m} : {s}") diff --git a/src/shortcuttowhat.lua b/src/shortcuttowhat.lua new file mode 100644 index 0000000..a592958 --- /dev/null +++ b/src/shortcuttowhat.lua @@ -0,0 +1,2 @@ +n = io.read("*n") +print((n + 5) * 3 - 10) diff --git a/src/shortcuttowhat.py b/src/shortcuttowhat.py new file mode 100644 index 0000000..e179d4f --- /dev/null +++ b/src/shortcuttowhat.py @@ -0,0 +1,2 @@ +n = int(input()) +print((n + 5) * 3 - 10)