摘要:
Sorting Lists sorted(iterable,key=None,reverse=False),does not mutate list, must assign result to a variable(返回新的列表,对所有可迭代的对象均有效) sort(key=None,revers 阅读全文
摘要:
import tensorflow as tfimport numpy as npimport matplotlib.pyplot as plt #使用numpy生成200个随机点,范围从-0.5到0.5均匀分布,增加一个维度得到200行1列的数据(生成二维数据)x_data = np.linspa 阅读全文
摘要:
import tensorflow as tfimport numpy as npimport matplotlib.pyplot as plt #使用numpy生成200个随机点,范围从-0.5到0.5均匀分布,增加一个维度得到200行1列的数据(生成二维数据)x_data = np.linspa 阅读全文
摘要:
Exercise: odd tuples 5/5 points (graded) ESTIMATED TIME TO COMPLETE: 5 minutes Write a procedure called oddTuples, which takes a tuple as input, and r 阅读全文
摘要:
ESTIMATED TIME TO COMPLETE: 18 minutes We can use the idea of bisection search to determine if a character is in a string, so long as the string is so 阅读全文
摘要:
Assume s is a string of lower case characters. Write a program that prints the longest substring of s in which the letters occur in alphabetical order 阅读全文