Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- constantnumber
- override
- class
- object
- eclipse
- hashCode
- abstractclass
- value
- Polymorphism
- start()
- 객체형변환
- methodArea
- Hashtable
- arguments
- hamobee
- 콘크리트클래스
- super
- 생성자
- garbagecollection
- fuction
- ALTER
- 추상클래스
- run()
- string
- overload
- concreteclass
- MSA
- reference
- Vector
- Eureka
Archives
- Today
- Total
목록python (5)
뇌운동일지
def solution(i, j): for n in range(i, j+1): print (n, " : ", end="") while n != 1: if n % 2 == 0: n = n/2 print(int(n),",", end=" ") else: n = (3 * n) + 1 print(int(n),",", end=" ") print() solution(10,19)
python
2020. 9. 25. 13:01
def f(n): if n == 0 : return 1 elif n >= 1 : return(2*f(n-1)) for i in range(7): print(f(i),"는 2의", i,"제곱이다." ) print(); print("128보다 작은 2의 제곱수들!")
python
2020. 9. 25. 12:34