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
- If
- decorator
- SQL
- Algorithm
- len
- MAX
- map
- count
- and
- 위코드
- iNT
- index
- 파이썬
- slice
- join
- enumerate
- Sorted
- STR
- LOWER
- sum
- lambda
- FOR
- or
- split
- range
- Python
- js
- WECODE
- DART
- list
Archives
- Today
- Total
목록touppercase (2)
코드로 우주평화
0105. Greet Me
Write a method that takes one argument as name and then greets that name, capitalized and ends with an exclamation point. Example: "riley" --> "Hello Riley!" "JACK" --> "Hello Jack!" Solution: var greet = function(name) { modifiedName = name.charAt(0).toUpperCase() + name.slice(1).toLowerCase() return `Hello ${modifiedName}!` }; var greet = function(name) { return 'Hello ' + name[0].toUpperCase(..
나는 이렇게 학습한다/Algorithm & SQL
2023. 1. 5. 18:59