Skip to Content
밑바닥부터 시작하는 비트코인
book

밑바닥부터 시작하는 비트코인

by 류정필, 송재준
November 2019
Beginner to intermediate
408 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 밑바닥부터 시작하는 비트코인
밑바닥부터 시작하는 비트코인
358
False
연습문제
2.2
Point
클래스의
__
ne
__
메서드를 작성하시오.
class Point:
...
def __ne__(self, other):
return not (self == other)
연습문제
2.3
한 점에 그의 역원을 더하는 경우를 코딩하시오(두 점은
x
가 같고
y
는 다른 경우이며 두 점을
이은 직선은
x
축에 수직 ). 반환된 결과는 무한원점이어야 한다.
class Point:
...
if self.x == other.x and self.y != other.y:
return self.__class__(None, None, self.a, self.b)
연습문제
2.4
타원곡선
y
2
=
x
3
+
5
x
+
7
위의 두 점 (
2
,
5
), (-
1
,-
1
)을 더하면 어떤 점이 되는가?
>>> x1, y1 = 2, 5
>>> x2, y2 = -1, -1
>>> s = (y2 - y1) / (x2 - x1)
>>> x3 = s**2 - x1 - x2
>>> y3 = s * (x1 - x3) - y1
>>> print(x3, y3)
3.0 -7.0
359
부록
A ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

밑바닥부터 시작하는 딥러닝

밑바닥부터 시작하는 딥러닝

사이토 고키
실리콘밸리 리더십

실리콘밸리 리더십

김정혜, 마이클 롭

Publisher Resources

ISBN: 9791162248294