module 1

发布时间 2023-10-10 17:53:51作者: zzhou75

module 1

讲解了python基本量的实践

错题

x = 9

sqrt(9) # a built-in math function that returns the square root of its input

What is the value of x after the lines of code above are executed? (Again, remember that we want the value of x, which is not necessarily the value displayed by Jupyter.)
If you want to run this code in Jupyter, you need an "import" so that Jupyter can access the sqrt function. Include a line at the top of your cell saying
from math import *

答案
9
问的是X的value是什么。

错因
求了sqrt的值,没认真审题