mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-06 04:34:20 +00:00
Re-translate the Japanese version (#1871)
* Retranslate Japanese docs with GPT-5.4 * Retranslate Japanese code with GPT-5.4
This commit is contained in:
@@ -24,14 +24,14 @@ if __name__ == "__main__":
|
||||
hash_dec = hash(dec)
|
||||
print(f"小数 {dec} のハッシュ値は {hash_dec}")
|
||||
|
||||
str = "Hello algorithm"
|
||||
str = "Hello アルゴリズム"
|
||||
hash_str = hash(str)
|
||||
print(f"文字列 {str} のハッシュ値は {hash_str}")
|
||||
|
||||
tup = (12836, "Ha")
|
||||
tup = (12836, "シャオハー")
|
||||
hash_tup = hash(tup)
|
||||
print(f"タプル {tup} のハッシュ値は {hash(hash_tup)}")
|
||||
|
||||
obj = ListNode(0)
|
||||
hash_obj = hash(obj)
|
||||
print(f"ノードオブジェクト {obj} のハッシュ値は {hash_obj}")
|
||||
print(f"ノードオブジェクト {obj} のハッシュ値は {hash_obj}")
|
||||
|
||||
Reference in New Issue
Block a user