Morse Clock

Morse Clock

Simple+
DE EN ES FR PL RU UK 简体中文

"嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒嘀哒"、 Morszelizer 的声音叮当作响。

"你在干什么?尼古拉好奇地问。

"我在把我们上次探险的时间记录发送到总部,但这可不是一件容易的事......" 斯蒂芬抱怨道:"你能想象吗,在我们拥有这么强大的计算机能力的情况下、 我还得把这条信息转换成莫尔斯电码,而且只有一个开关按钮......哼哼......真麻烦。" 他对这种不便抱怨道。

"让我看看。"尼古拉提供了帮助,"这看起来是个非常简单的解决方案,我们可以 自动化流程。"

"哦......你是我今天的英雄。"斯蒂芬兴奋地说道。"那么,我们如何开始 开始?"

"用Python!"尼古拉惊呼道。

帮助斯蒂芬创建一个将普通时间字符串转换为摩尔斯时间字符串的模块。 如图所示,灰色圆圈表示 "开",白色圆圈表示 "关"。 时间串中的每个数字都包含不同数量的槽。 小时的第一位数字长度为 2,而小时的第二位数字长度为 4。 分钟和秒钟的第一位数字长度为 3,而分钟和秒钟的第二位数字长度为 4。 秒的第二个数字长度为 4。 时间中的每个数字都要转换成二进制表示。 您将把每个开(或 1)信号转换为破折号("-"),把每个关(或...

You should be an authorized user in order to see the full description and start solving this mission.
Settings
Code:
Other:
Invalid hot key. Each hot key should be unique and valid
Hot keys:
CheckiO Extensions

CheckiO Extensions allow you to use local files to solve missions. More info in a blog post.

In order to install CheckiO client you'll need installed Python (version at least 3.8)

Install CheckiO Client first:

pip3 install checkio_client

Configure your tool

checkio --domain=py config --key=

Sync solutions into your local folder

checkio sync

(in beta testing) Launch local server so your browser can use it and sync solution between local file end extension on the fly. (doesn't work for safari)

checkio serv -d

Alternatevly, you can install Chrome extension or FF addon

checkio install-plugin
checkio install-plugin --ff
checkio install-plugin --chromium

Read more here about other functionality that the checkio client provides. Feel free to submit an issue in case of any difficulties.

Pair Programming (Beta-version)

Welcome to Pair Programming! Engage in real-time collaboration on coding projects by starting a session and sharing the provided unique URL with friends or colleagues. This feature is perfect for joint project development, debugging, or learning new skills together. Simply click 'Start Session' to begin your collaborative coding journey!

Waiting for Pair Programming to start...

You are trying to join a pair programming session that has not started yet.

Please wait for the session creator to join.

Waiting for Pair Programming to reconnect...

It looks like the creator of the pair programming session closed the editor window.

It might happen accidentally, so that you can wait for reconnection.

×
 
 
<< <
> >>
exec show

Whats Next?

Free accounts will see Best CheckiO solutions with some delay.
Best Solutions will be opened in a moment
Become Awesome and Don't wait
The next stage is ""
Will be activated in
View More Solutions Random Review Solutions Go to the next mission