DEV Community

Rohithaditya
Rohithaditya

Posted on

Best Python Projects That You Can Finish In A Min!

  1. Take A Break Reminder App Codes:
import time
   from plyer import notificationif __name__ ==    "__main__":
   while True:
        notification.notify(
            title = "ALERT!!!",
            message = "Take a break! It has been an hour!\nCode By @rohithaditya ",
            timeout = 10
        )
        time.sleep(3600)
Enter fullscreen mode Exit fullscreen mode
  1. Quadratic Equation Solver:
import math
print('Welcome!...)

a = input("Enter the first number a: ")
b = input("Enter the second number b: ")
c = input("Enter the third number c: ")
y = int(b) * int(b) - 4 *int(a)*int(c)
if y == 0:
    e = - int(b)/2*int(a)
    print()
    print("The result: ",e)
elif y >= 0:
    rt = (-int(b) - math.sqrt(D))/2*int(a)
    rt2= (-int(b) + math.sqrt(D))/2*int(a)
    print("The first result: ", rt)
    print("The second result: ", rt2)
else:
    print("The equation has no solution!")
print("I'm glad my help touched")
print("This Program Done By @rohithaditya ")
Enter fullscreen mode Exit fullscreen mode
  1. Hello World Program
print('Hello World\nAnd Bye!')
Enter fullscreen mode Exit fullscreen mode

Top comments (0)