Skip to content

Conversation

@s1270179
Copy link
Contributor

No description provided.

@s1270179 s1270179 added the completed 採点を要求 label Oct 17, 2019
return -1*a//b
a = str(int(a / gcd))
b = str(int(b / gcd))
return ( "-" + b + "/" + a)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

返り値は文字列ではなく数値がほしいです 🙇

Copy link
Contributor

@mt-coff mt-coff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ヒントになるかわからないですが
Python Fraction で調べてみてもいいかもしれません

@uzimaru0000 uzimaru0000 added the reject [TA] 修正する箇所ありなので修正してください :bow: label Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

completed 採点を要求 reject [TA] 修正する箇所ありなので修正してください :bow:

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants