Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

length of a diagonal #32

Open
danhaney403 opened this issue Jan 13, 2020 · 4 comments
Open

length of a diagonal #32

danhaney403 opened this issue Jan 13, 2020 · 4 comments

Comments

@danhaney403
Copy link

No description provided.

@danhaney403
Copy link
Author

i don't get an error message, it just doesn't run

#http://tinyurl.com/z52c8z8
import math
#length of a diagonal
l=4
w=10
d=math.sqrt(l2+w2)

@danhaney403
Copy link
Author

I copied it from the tutorial line by line and it wont run, or give results.

@calthoff
Copy link
Owner

It is an example illustrating a point, it isn't supposed to output anything.

@amopollon
Copy link

Hello there! Just for fun I add print(l, w, d)

http://tinyurl.com/z52c8z8

import math

#length of a diagonal

l=4
w=10
d=math.sqrt(l2+w2)

print(l, w, d)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants