diff --git a/Python_Begginer_Projects/Amazing/notifier.py b/Python_Begginer_Projects/Amazing/notifier.py new file mode 100644 index 0000000..95c85c3 --- /dev/null +++ b/Python_Begginer_Projects/Amazing/notifier.py @@ -0,0 +1,8 @@ +from plyer import notification +# Send notification +notification.notify( +title="Reminder", +message="Take a break and stretch!", +app_name="Python Notifier", +timeout=10 +) diff --git a/Python_Begginer_Projects/Amazing/pow_solver.py b/Python_Begginer_Projects/Amazing/pow_solver.py new file mode 100644 index 0000000..a432366 --- /dev/null +++ b/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))