freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-wit.../scientific-computing-with-p.../time-calculator.md

43 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5e444136903586ffb414c94d
title: 时间计算器
challengeType: 10
forumTopicId: 462360
dashedName: time-calculator
---
# --description--
编写一个名为 “add_time” 的函数,该函数可以将一段时间添加到一个开始时间中,并返回结果。
你可以 [在 Replit 上查看整个项目的具体描述和初始代码](https://replit.com/github/freeCodeCamp/boilerplate-time-calculator)。 访问此链接后fork 这个项目。 当你根据 “README.md” 中的说明完成了项目,请在下方提交你的项目链接。
我们仍在开发 Python 课程的交互式教学部分。 目前freeCodeCamp.org YouTube 频道上的一些视频将会教授你这个项目需要的所有技能。
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody 视频课程</a>14 小时)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python 视频课程</a>2 小时)
</li>
</ul>
# --hints--
它应该能正确地添加时间并通过所有测试。
```js
```
# --solutions--
```js
/**
Backend challenges don't need solutions,
because they would need to be tested against a full working project.
Please check our contributing guidelines to learn more.
*/
```