Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 9 Online
OpenStudy (anonymous):

I need help with the first assignment. For exercise 1.4 it asks to use IDLE to calculate √7 + 9 × 2, my question is how do I enter a square root?

OpenStudy (rsmith6559):

Here's two ways: >>> import math >>> math.sqrt( 4 ) 2.0 >>> 4**.5 2.0 If the first doesn't make sense, use the second.

OpenStudy (anonymous):

import math print math.sqrt(7)+9*2

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!