Let's Learn Python

Hi... everyone... I'm an external undergraduate student of the bachelor degree in IT field. I self studies about "Python" which is known as high-level programming language. Come & join with me... Let's share our knowledge.....

Thursday, May 28, 2020

Solve a mathematical problem in Pythagorean Theorem.


The square of the hypotenuse is equal to the sum of the squares of the other two sides.





Assume that A = 4.0 & B = 3.0

Let’s find the value of C.

Given below the program to find the value of C.








Output is 5.0
Posted by RMPTR95 at 7:03 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

RMPTR95
View my complete profile

Blog Archive

  • ►  2021 (2)
    • ►  April (2)
  • ▼  2020 (51)
    • ►  July (12)
    • ►  June (10)
    • ▼  May (23)
      • Iterations – While Loop
      • Conditional Statements
      • Comparison Operators
      • Type Conversion
      • String Operators
      • Type Casting
      • The input () function
      • Solve an Algebraic Equation
      • Miles to Kilo Meters Conversion Program
      • Shortcut Operators
      • Solve a mathematical problem in Pythagorean Theorem.
      • Variables
      • Binding of the operators
      • Arithmetic Operators – Part II
      • Arithmetic Operators – Part I
      • Boolean Values
      • Floats
      • Integers in Python
      • The print () function – Part 2
      • The print () function – Part 1
      • Lists in Python
      • Strings in Python - Part 3
      • Strings in Python - Part 2
    • ►  April (6)
Watermark theme. Powered by Blogger.