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)
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 ")
Hello World Program
print('Hello World\nAnd Bye!')
Top comments (0)
Subscribe
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)