Flashield's Blog

Just For My Daily Diary

Flashield's Blog

Just For My Daily Diary

Day: January 30, 2024

07.exercise-working-with-external-libraries【练习:使用外部库】

This notebook is an exercise in the Python course. You can reference the tutorial at this link. Try It Yourself There are only three problems in this last set of exercises, but they’re all pretty tricky, so be on guard! Run the setup code below before working on the questions. 自己尝试一下 最后一组练习只有三道题,但是都比较棘手,要小心! 在回答问题之前运行下面的设置代码。 from learntools.core […]

07.course-working-with-external-libraries【使用外部库】

In this tutorial, you will learn about imports in Python, get some tips for working with unfamiliar libraries (and the objects they return), and dig into operator overloading. 在本教程中,您将了解 Python 中的 导入,获得一些不熟悉的库(及其返回的对象)的使用技巧,并深入研究 运算符重载。 Imports So far we’ve talked about types and functions which are built-in to the language. But one of the best things about […]

06.exercise-strings-and-dictionaries【练习:字符串及字典】

Python Home Page Try It Yourself You are almost done with the course. Nice job. Fortunately, we have a couple more interesting problems for you before you go. As always, run the setup code below before working on the questions. 自己尝试一下 您即将完成课程。 不错的工作。 幸运的是,在您出发之前,我们还为您准备了一些更有趣的问题。 与往常一样,在解决问题之前运行下面的设置代码。 from learntools.core import binder; binder.bind(globals()) from learntools.python.ex6 import * print('Setup […]

06.course-strings-and-dictionaries【字符串及字典】

This lesson will cover two essential Python types: strings and dictionaries. 本课程将介绍两种基本的 Python 类型:字符串和字典。 Strings 字符串 One place where the Python language really shines is in the manipulation of strings. This section will cover some of Python’s built-in string methods and formatting operations. Such string manipulation patterns come up often in the context of data […]

Scroll to top