Re:Zhcode: Python in Chinese
by gus_massa on Monday April 17, 2023 @08:20PM
(#35608431)
It's strange that you need to separate functions and other variables. I mostly use Racket, but I'm using Python from time to time. I'm using some code like
that use variables as functions.
[ Parent
| on HN ]
What I mean by "functions" are the ones that need to be translated into English. For example:
印(“你好”)
This would be translated to: print("你好")
However, variables are not translated. If I denote 印 as a variable: 「印」(“你好”)
This would get translated to: 印("你好")