Skip to content

Commit c4710ae

Browse files
authored
Merge pull request #4 from Mmabiaa/Cool
Cool
2 parents e426859 + 6c34dab commit c4710ae

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from plyer import notification
2+
# Send notification
3+
notification.notify(
4+
title="Reminder",
5+
message="Take a break and stretch!",
6+
app_name="Python Notifier",
7+
timeout=10
8+
)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
def power (base, exp):
2+
if exp == 0:
3+
return 1
4+
return base * power(base, exp - 1)
5+
base = int(input("Enter the base number: "))
6+
exp = int(input("Enter the exponent: "))
7+
print (power (base, exp))

0 commit comments

Comments
 (0)