일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Redshift
- Google Spreadsheet
- matplotlib
- Github
- gas
- string
- numpy
- Java
- array
- dataframe
- Tkinter
- SQL
- Apache
- Python
- 파이썬
- Google Excel
- PostgreSQL
- list
- PANDAS
- GIT
- math
- hive
- google apps script
- Excel
- django
- PySpark
- c#
- Kotlin
- Mac
- Today
- Total
목록분류 전체보기 (832)
달나라 노트
Original source = play.kotlinlang.org/byExample/01_introduction/01_Hello%20world fun main() { var list_fruit = listOf("Apple", "PineApple", "Red_Strawberry", "Red_Apple", "Yellow_Banana", "Yellow_Yellowmelon") // 1 var var_element_cnt = list_fruit.count() // 2 println(var_element_cnt) var var_element_cnt2 = list_fruit.count() {x -> x.contains("Apple")} // 3 println(var_element_cnt2) } -- Result ..
Original source = play.kotlinlang.org/byExample/01_introduction/01_Hello%20world fun main() { var list_fruit = listOf("Apple", "PineApple", "Red_Strawberry", "Red_Apple", "Yellow_Banana", "Yellow_Yellowmelon") // 1 var var_first = list_fruit.first() // 2 println(var_first) var var_last = list_fruit.last() // 3 println(var_last) var var_first_apple = list_fruit.first() {x -> x.contains("Apple")} ..
Original source = play.kotlinlang.org/byExample/01_introduction/01_Hello%20world fun main() { var list_fruit = listOf("Apple", "PineApple", "Red_Strawberry", "Red_Apple", "Yellow_Banana", "Yellow_Yellowmelon") // 1 var var_first = list_fruit.find {x -> x.startsWith("Red", ignoreCase=true)} // 2 println(var_first) var var_last = list_fruit.findLast {it.startsWith("Red", ignoreCase=true)} // 3 pri..
Original source = play.kotlinlang.org/byExample/01_introduction/01_Hello%20world fun main() { var list_numbers = listOf(1, -1, 2, -2, 3, -3, 4, -4, 5, -5) // 1 var var_all_even = list_numbers.all {x -> x % 2 == 0} // 2 println(var_all_even) var var_all_lt_100 = list_numbers.all {it x < 0} // 4 println(var_any_negat..