执行该算法后,输出变量b的值为( )
1
import numpy as np
2
from matplotlib import pyplot as plt
3
x=np. arange(-5,5,0.1)
4
y=np. sin(x)
5
plt. show()
运行后没有报错但看不到运行结果,原因不可能是( )
import turtle as t
def square(a):
for i in range (4):
t. fd (50)
t. left (a)
6
square (100)
程序执行后生成的图形为( )
该电脑的内存容量为( )
import matplotlib. pyplot as plt
x=[1,2,3,4,5,6,7,8,9]
y=[0.35,0.70,1.13,0.2,1.90,6.10,2.70,3.08,3.52]
plt. plot(x,y)
import pandas as pd
S=pd. Series(range(2,8,2))
print(S)
请回答以下问题:
s=0
for i in range __________:
s+=i
print(s)