INI1. Installing Python

更新於 發佈於 閱讀時間約 2 分鐘

題目:https://rosalind.info/problems/ini1/

首先從 Python Village 新手村開始解題起。



安裝好Python、進入Python之後

import this

import this就是引入python自己

便會出現一首Python之禪的詩,這是Python的哲學

The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
avatar-img
0會員
8內容數
這裡存放著 我在Rosalind生物資訊平台的解題過程。 歐印生科ㄌ。
留言
avatar-img
留言分享你的想法!
你可能也想看
從 Google News 追蹤更多 vocus 的最新精選內容