We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e426859 + 6c34dab commit c4710aeCopy full SHA for c4710ae
Python_Begginer_Projects/Amazing/notifier.py
@@ -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
+)
Python_Begginer_Projects/Amazing/pow_solver.py
@@ -0,0 +1,7 @@
+def power (base, exp):
+ if exp == 0:
+ return 1
+ return base * power(base, exp - 1)
+base = int(input("Enter the base number: "))
+exp = int(input("Enter the exponent: "))
+print (power (base, exp))
0 commit comments