user:thomas gists created by user
user:thomas
title:mygist gists with given title
title:mygist
filename:myfile.txt gists having files with given name
filename:myfile.txt
extension:yml gists having files with given extension
extension:yml
language:go gists having files with given language
language:go
topic:homelab gists with given topic
topic:homelab
Přihlásit se
Naposledy aktivní 10 months ago
這段程式碼定義了一個 GreetingClass 類別,內含兩個方法 say_hello() 和 say_goodbye(),用來回傳問候語。透過建立 greeter 物件,可以呼叫這些方法,並測試它們是否符合預期的輸出,適合作為 Python 類別與方法的基礎學習示例。
Embed
Embed this gist to your website.
Klonovat pomocí HTTPS
Klonovat s pomocí Git pomocí základní autentizace HTTP.
Klonovat pomocí SSH
Klonovat s pomocí Git pomocí klíče SSH.
Vytvořeno pomocí Opengist ⋅ Load: 3ms⋅