-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
absMax fix bug. #619
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
absMax fix bug. #619
Conversation
Maths/3n+1.py
Outdated
""" | ||
算法题: | ||
|
||
输入一个数,偶数时则砍掉一半;奇数时,则(3n+1)砍掉一半,最后直到得到1.问,进行了多少次? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
嘿,哥儿们,国外仓库不要用中文噢~
Do not use Chinese characters, please :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK! I Know!Thanks!
OK!Remove Chinese remarks.Done. And,absmax.py and absmin.py bugs fixed. I think absmax.py and absmin.py, are the Numbers with the max output absolute value and the min output absolute value.please check pull request #623. |
my version output example : absMax.py【a = [-13, 2, -11, -12] print(absMax(a)) # = -13】, this absMax print -13 ; absMin.py【 a = [-3,-1,2,-11] print(absMin(a)) # = -1】, this absMin print -1 . please check it. |
Write your commit messages in English, please! 哥儿们,你用中文写提交信息,我要是 考虑把这个 pr 关了,你重新提交个规范的,我再 Review 一下~ thx :) |
this is my first pr.Sorry,ok,i do it right now.thx:) |
absMax fix bug.And in absMin.py,
import error,fix it.just make it better.