Hello S Square Tech Family :)
Hope you all are good and safe!
We created a playlist for Python Exercise this playlist helps you to practice Python Language.
Exercise :1
How to solve quadratic equation..?
It's very useful for begineers so please make this program and share this video with your friends, enjoy it.
Thanks 😀
Subscribe for More daily Updates.💥
https://www.youtube.com/channel/UCK4H...
In this page we daily upload tech and meme posts so please once visit this page hope you will like, if you really liked please follow us.
Follow us on Instagram :
/ s_square_te...
Follow us on Facebook :
/ s-square-tech-100992292176142
Canva Tutorial Playlist for begineers :
https://www.youtube.com/playlist?list...
Python Programs Playlists for Begineers :
• How to Display Calendar in Python Languag...
Try this exercise for practice (:
#sandietech #ssquaretech #quadraticequation #python #stayhome #staysafe #equation#quadratic #solution #pythonprograms #programmer😎
How to solve quadratic equation
solution of quadratic equation
sloving quadratic equation
quadratic equation
source code of quadratic equation
quadratic equation python program
python program for begineers
quadratic equation in python
exercise of python
quadratic formula
quadratic equation formula
Source Code of the Program :
Python Program to solve Quadractic Equation
Import Complex math module
import cmath
Take Input from the User
a = int(input("Enter first Number :"))
b = int(input("Enter second Number :"))
c = int(input("Enter third Number :"))
Calculation of discriminant
d = (b**2) - (4*a*c)
Find two solutions
solution1 = (b-cmath.sqrt(d))/(2*a)
solution2 = (b+cmath.sqrt(d))/(2*a)
print("The solution are {0} and {1}".format(solution1,solution2))
Have A Nice Day 😅