본문 바로가기
코딩/PythonChallenge

[PythonChallenge] Level 0 풀이

by zz! 2024. 5. 4.
728x90

유튜브에서 "동빈나" 님의 영상에서 PythonChallenge 사이트가 도움이 된다고 하길래 한번 찍먹하러 사이트를 들어가보았습니다.

http://www.pythonchallenge.com/

 

The Python Challenge

What people have said about us: "These sorts of things are in my opinion the best way to learn a language.", brberg at Media Cloisters "It's the best web site of the year so far.", Andy Todd at halfcooked "Addictive way to learn the ins and outs of Python.

www.pythonchallenge.com

 

Python을 이용해서 33 level까지의 문제를 푸는 사이트입니다.

사이트를 들어가시고 "Click here to get challenged"를 누르면 바로 level 0문제를 풀어볼 수 있습니다.

 

[PythonChallenge] Level  0 풀이

 

더보기

힌트 : URL 주소를 변경해 보세요.

 

2의 38제곱을 파이썬 코드로 짜서 그 값을 URL에 입력하면 다음 단계로 가지는 것을 알 수 있습니다.

코드는 다음과 같습니다.

print(2**38)

결과 : 274877906944

이것을 URL 주소에 입력하면 다음 level 1단계로 넘어가집니다.

 

728x90