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

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay