Skip to content

Commit

Permalink
add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zehengl committed Aug 22, 2024
1 parent ed77007 commit 7d04c38
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/secondopinion.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
s = int(input())
h = s // 3600
s = s % 3600
m = s // 60
s = s % 60
print(f"{h} : {m} : {s}")
2 changes: 2 additions & 0 deletions src/shortcuttowhat.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
n = io.read("*n")
print((n + 5) * 3 - 10)
2 changes: 2 additions & 0 deletions src/shortcuttowhat.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
n = int(input())
print((n + 5) * 3 - 10)

0 comments on commit 7d04c38

Please sign in to comment.