摘要:
A lambda expression is an unnamed block of code (or an unnamed function) with a list of formal parameters and abody.Java8中的lambda表达式不同于C#,使用的是->eg:// ... 阅读全文
摘要:
给程序加上控制台菜单menu.pyimport sysfrom notebook import Notebook, Noteclass Menu: '''Display a menu and respond to choices when run.''' def __init__(sel... 阅读全文
摘要:
notebook.pyimport datetimelast_id = 0class Note: '''Represent a note in the notebook. Match against a string in searches and store tags for each... 阅读全文
摘要:
UDP provides an end-to-end service different from that of TCP.In fact, UDP performs only two functions:(1) it adds another layer of addressing (ports)... 阅读全文