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

fix type/extract_nth_digit #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Kuri174
Copy link
Contributor

@Kuri174 Kuri174 commented Oct 31, 2019

No description provided.

@Kuri174 Kuri174 added the completed 採点を要求 label Oct 31, 2019
@@ -1,2 +1,3 @@
def extract_nth_digit(num, digit):
return num[digit]
t = str(num)
return t[len(t) - digit]
Copy link
Contributor

Choose a reason for hiding this comment

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

想定している型が Num なので 型変換してください

@uzimaru0000 uzimaru0000 added the reject [TA] 修正する箇所ありなので修正してください :bow: label Nov 7, 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.

2 participants