Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

改善提案 演算子を半角に #2

Open
taisukef opened this issue Dec 14, 2024 · 0 comments
Open

改善提案 演算子を半角に #2

taisukef opened this issue Dec 14, 2024 · 0 comments

Comments

@taisukef
Copy link
Member

加減乗除の四則演算は,『+』,『-』,『*』,『/』で表す
べき乗は『**』で表す

こちらは半角になっているが

整数の除算では,商(整数)を『÷』で,余りを『%』で表す

こちらの「÷」が全角となっている

「÷」は該当する半角記号がないが、べき乗を「**」で定義しているので、
整数の除算も「//」とPythonと同様に定義するといい

code4fukui#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant