Skip to content

Instantly share code, notes, and snippets.

View devavijitsingh's full-sized avatar
💭
everything is open source

Avijit Singh devavijitsingh

💭
everything is open source
View GitHub Profile
@devavijitsingh
devavijitsingh / github 2.py
Created February 28, 2023 12:11
Python program to find out Quadratic equation
# Solve the quadratic equation ax**2 + bx + c = 0
# import complex math module
import cmath
a = 1
b = 5
c = 6
# calculate the discriminant