Enviar pesquisa
Carregar
Ruby初級者向けレッスン 48回 ─── Array と Hash
•
0 gostou
•
690 visualizações
higaki
Seguir
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 34
Baixar agora
Baixar para ler offline
Recomendados
Ruby's Arrays and Hashes with examples
Ruby's Arrays and Hashes with examples
Niranjan Sarade
Ruby Language: Array, Hash and Iterators
Ruby Language: Array, Hash and Iterators
Sarah Allen
Useful javascript
Useful javascript
Lei Kang
Palestra sobre Collections com Python
Palestra sobre Collections com Python
pugpe
Python fundamentals - basic | WeiYuan
Python fundamentals - basic | WeiYuan
Wei-Yuan Chang
Clustering com numpy e cython
Clustering com numpy e cython
Anderson Dantas
第二讲
第二讲
Qing Feng
轻量级文本工具集
轻量级文本工具集
March Liu
Recomendados
Ruby's Arrays and Hashes with examples
Ruby's Arrays and Hashes with examples
Niranjan Sarade
Ruby Language: Array, Hash and Iterators
Ruby Language: Array, Hash and Iterators
Sarah Allen
Useful javascript
Useful javascript
Lei Kang
Palestra sobre Collections com Python
Palestra sobre Collections com Python
pugpe
Python fundamentals - basic | WeiYuan
Python fundamentals - basic | WeiYuan
Wei-Yuan Chang
Clustering com numpy e cython
Clustering com numpy e cython
Anderson Dantas
第二讲
第二讲
Qing Feng
轻量级文本工具集
轻量级文本工具集
March Liu
Groovy collection api
Groovy collection api
trygvea
Some Pry Features
Some Pry Features
Yann VERY
Queue in swift
Queue in swift
joonjhokil
A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009
Jordan Baker
Debugging: A Senior's Skill
Debugging: A Senior's Skill
Milton Lenis
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
Plotly
Haskell
Haskell
Jackson dos Santos Olveira
Purely functional data structures
Purely functional data structures
Tomasz Kaczmarzyk
Text Mining using Regular Expressions
Text Mining using Regular Expressions
Rupak Roy
Lists
Lists
Marieswaran Ramasamy
Csharp4 arrays and_tuples
Csharp4 arrays and_tuples
Abed Bukhari
1 pythonbasic
1 pythonbasic
pramod naik
python高级内存管理
python高级内存管理
rfyiamcool
Becoming a better developer with EXPLAIN
Becoming a better developer with EXPLAIN
Louise Grandjonc
2015 11-17-programming inr.key
2015 11-17-programming inr.key
Yannick Wurm
Strings
Strings
Marieswaran Ramasamy
AJUG April 2011 Raw hadoop example
AJUG April 2011 Raw hadoop example
Christopher Curtin
Python basic
Python basic
sewoo lee
Τα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την Python
Moses Boudourides
Erlang Concurrency
Erlang Concurrency
Barry Ezell
4.1 PHP Arrays
4.1 PHP Arrays
Jalpesh Vasa
Potential Friend Finder
Potential Friend Finder
Richard Schneeman
Mais conteúdo relacionado
Mais procurados
Groovy collection api
Groovy collection api
trygvea
Some Pry Features
Some Pry Features
Yann VERY
Queue in swift
Queue in swift
joonjhokil
A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009
Jordan Baker
Debugging: A Senior's Skill
Debugging: A Senior's Skill
Milton Lenis
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
Plotly
Haskell
Haskell
Jackson dos Santos Olveira
Purely functional data structures
Purely functional data structures
Tomasz Kaczmarzyk
Text Mining using Regular Expressions
Text Mining using Regular Expressions
Rupak Roy
Lists
Lists
Marieswaran Ramasamy
Csharp4 arrays and_tuples
Csharp4 arrays and_tuples
Abed Bukhari
1 pythonbasic
1 pythonbasic
pramod naik
python高级内存管理
python高级内存管理
rfyiamcool
Becoming a better developer with EXPLAIN
Becoming a better developer with EXPLAIN
Louise Grandjonc
2015 11-17-programming inr.key
2015 11-17-programming inr.key
Yannick Wurm
Strings
Strings
Marieswaran Ramasamy
AJUG April 2011 Raw hadoop example
AJUG April 2011 Raw hadoop example
Christopher Curtin
Python basic
Python basic
sewoo lee
Τα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την Python
Moses Boudourides
Erlang Concurrency
Erlang Concurrency
Barry Ezell
Mais procurados
(20)
Groovy collection api
Groovy collection api
Some Pry Features
Some Pry Features
Queue in swift
Queue in swift
A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009
Debugging: A Senior's Skill
Debugging: A Senior's Skill
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
Haskell
Haskell
Purely functional data structures
Purely functional data structures
Text Mining using Regular Expressions
Text Mining using Regular Expressions
Lists
Lists
Csharp4 arrays and_tuples
Csharp4 arrays and_tuples
1 pythonbasic
1 pythonbasic
python高级内存管理
python高级内存管理
Becoming a better developer with EXPLAIN
Becoming a better developer with EXPLAIN
2015 11-17-programming inr.key
2015 11-17-programming inr.key
Strings
Strings
AJUG April 2011 Raw hadoop example
AJUG April 2011 Raw hadoop example
Python basic
Python basic
Τα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την Python
Erlang Concurrency
Erlang Concurrency
Semelhante a Ruby初級者向けレッスン 48回 ─── Array と Hash
4.1 PHP Arrays
4.1 PHP Arrays
Jalpesh Vasa
Potential Friend Finder
Potential Friend Finder
Richard Schneeman
Scientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuan
Wei-Yuan Chang
Extending Spark SQL API with Easier to Use Array Types Operations with Marek ...
Extending Spark SQL API with Easier to Use Array Types Operations with Marek ...
Databricks
P3 2018 python_regexes
P3 2018 python_regexes
Prof. Wim Van Criekinge
Plc (1)
Plc (1)
James Croft
Ken20150417
Ken20150417
LearningTech
Intoduction to php arrays
Intoduction to php arrays
baabtra.com - No. 1 supplier of quality freshers
Lecture 6
Lecture 6
Debasish Pratihari
Python_cheatsheet_numpy.pdf
Python_cheatsheet_numpy.pdf
AnonymousUser67
Numpy python cheat_sheet
Numpy python cheat_sheet
Zahid Hasan
Numpy python cheat_sheet
Numpy python cheat_sheet
Nishant Upadhyay
C-Programming Arrays.pptx
C-Programming Arrays.pptx
SKUP1
C-Programming Arrays.pptx
C-Programming Arrays.pptx
LECO9
PHP and MySQL Tips and tricks, DC 2007
PHP and MySQL Tips and tricks, DC 2007
Damien Seguy
Web Application Development using PHP Chapter 4
Web Application Development using PHP Chapter 4
Mohd Harris Ahmad Jaal
Introduction to NumPy
Introduction to NumPy
Huy Nguyen
Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)
PyData
СЕРГІЙ МОРОЗ «Від Java до Ruby. Проблеми та переваги» QADay 2019
СЕРГІЙ МОРОЗ «Від Java до Ruby. Проблеми та переваги» QADay 2019
GoQA
Php tips-and-tricks4128
Php tips-and-tricks4128
PrinceGuru MS
Semelhante a Ruby初級者向けレッスン 48回 ─── Array と Hash
(20)
4.1 PHP Arrays
4.1 PHP Arrays
Potential Friend Finder
Potential Friend Finder
Scientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuan
Extending Spark SQL API with Easier to Use Array Types Operations with Marek ...
Extending Spark SQL API with Easier to Use Array Types Operations with Marek ...
P3 2018 python_regexes
P3 2018 python_regexes
Plc (1)
Plc (1)
Ken20150417
Ken20150417
Intoduction to php arrays
Intoduction to php arrays
Lecture 6
Lecture 6
Python_cheatsheet_numpy.pdf
Python_cheatsheet_numpy.pdf
Numpy python cheat_sheet
Numpy python cheat_sheet
Numpy python cheat_sheet
Numpy python cheat_sheet
C-Programming Arrays.pptx
C-Programming Arrays.pptx
C-Programming Arrays.pptx
C-Programming Arrays.pptx
PHP and MySQL Tips and tricks, DC 2007
PHP and MySQL Tips and tricks, DC 2007
Web Application Development using PHP Chapter 4
Web Application Development using PHP Chapter 4
Introduction to NumPy
Introduction to NumPy
Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)
СЕРГІЙ МОРОЗ «Від Java до Ruby. Проблеми та переваги» QADay 2019
СЕРГІЙ МОРОЗ «Від Java до Ruby. Проблеми та переваги» QADay 2019
Php tips-and-tricks4128
Php tips-and-tricks4128
Mais de higaki
Ruby初級者向けレッスン 56回 ─── ブロック
Ruby初級者向けレッスン 56回 ─── ブロック
higaki
Ruby初級者向けレッスン KOF2015 出張版
Ruby初級者向けレッスン KOF2015 出張版
higaki
Ruby初級者向けレッスン 55回 ─── 例外
Ruby初級者向けレッスン 55回 ─── 例外
higaki
Ruby初級者向けレッスン 54回 ─── クラス
Ruby初級者向けレッスン 54回 ─── クラス
higaki
Ruby初級者向けレッスン 53回 ─── Array と Hash
Ruby初級者向けレッスン 53回 ─── Array と Hash
higaki
初級者向けレッスン 52回 ─── 文字列
初級者向けレッスン 52回 ─── 文字列
higaki
初級者向けレッスン 51回 ─── 例外
初級者向けレッスン 51回 ─── 例外
higaki
Ruby初級者向けレッスン 50回 ─── ブロック
Ruby初級者向けレッスン 50回 ─── ブロック
higaki
PHPer のための Ruby 教室
PHPer のための Ruby 教室
higaki
Ruby 初級者向けレッスン 49回───クラス
Ruby 初級者向けレッスン 49回───クラス
higaki
Ruby初級者向けレッスン 47回 ─── 文字列
Ruby初級者向けレッスン 47回 ─── 文字列
higaki
Ruby初級者向けレッスン 第46回 ─── Test::Unit
Ruby初級者向けレッスン 第46回 ─── Test::Unit
higaki
ジュンク堂書店の方から来ました
ジュンク堂書店の方から来ました
higaki
Ruby初級者向けレッスン 45回 ─── 例外
Ruby初級者向けレッスン 45回 ─── 例外
higaki
Mais de higaki
(14)
Ruby初級者向けレッスン 56回 ─── ブロック
Ruby初級者向けレッスン 56回 ─── ブロック
Ruby初級者向けレッスン KOF2015 出張版
Ruby初級者向けレッスン KOF2015 出張版
Ruby初級者向けレッスン 55回 ─── 例外
Ruby初級者向けレッスン 55回 ─── 例外
Ruby初級者向けレッスン 54回 ─── クラス
Ruby初級者向けレッスン 54回 ─── クラス
Ruby初級者向けレッスン 53回 ─── Array と Hash
Ruby初級者向けレッスン 53回 ─── Array と Hash
初級者向けレッスン 52回 ─── 文字列
初級者向けレッスン 52回 ─── 文字列
初級者向けレッスン 51回 ─── 例外
初級者向けレッスン 51回 ─── 例外
Ruby初級者向けレッスン 50回 ─── ブロック
Ruby初級者向けレッスン 50回 ─── ブロック
PHPer のための Ruby 教室
PHPer のための Ruby 教室
Ruby 初級者向けレッスン 49回───クラス
Ruby 初級者向けレッスン 49回───クラス
Ruby初級者向けレッスン 47回 ─── 文字列
Ruby初級者向けレッスン 47回 ─── 文字列
Ruby初級者向けレッスン 第46回 ─── Test::Unit
Ruby初級者向けレッスン 第46回 ─── Test::Unit
ジュンク堂書店の方から来ました
ジュンク堂書店の方から来ました
Ruby初級者向けレッスン 45回 ─── 例外
Ruby初級者向けレッスン 45回 ─── 例外
Último
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Curtis Poe
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
Nicole Novielli
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
Dilum Bandara
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
MounikaPolabathina
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
HarshalMandlekar2
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Último
(20)
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Ruby初級者向けレッスン 48回 ─── Array と Hash
1.
2014年3月29日 Ruby初級者向けレッスン 48回 — Array
と Hash — ひがき @ Ruby関西
2.
Array と Hash •
Array とは • Hash とは • Array・Hash オブジェクトの作り方 • 繰り返し • オブジェクトのコピー
3.
Array とは • 配列クラス •
任意のオブジェクトを持つことができる [1, 1, 2, 3] [1, "2nd", [3, "3"], 4.0, :five]
4.
Array とは (2) a
= [1, "2nd", [3, "3"], 4.0, :five] a[0] # => 1 a[1] # => "2nd" a[1] = :two a[3, 2] # => [4.0, :five] a[1..-2] # => [:two, [3, "3"], 4.0] a[5] # => nil
5.
Array オブジェクトの作り方 ["a", "b",
"c"] # => ["a", "b", "c"] ("a".."c").to_a # => ["a", "b", "c"] [*"a".."c"] # => ["a", "b", "c"] %w[a b c] # => ["a", "b", "c"] %i[a b c] # => [:a, :b, :c]
6.
Array の初期化 Array.new(3){0} #
=> [0, 0, 0] Array.new(3){|i| i.to_s} # => ["0", "1", "2"]
7.
String から Array
へ "No Ruby, No Life.".scan(/w+/) # => ["No", "Ruby", "No", "Life"] "Ruby 関西".scan(/p{Word}+/) # => ["Ruby", "関西"] "1,1,2,3,5,8".split(/,/) # => ["1", "1", "2", "3", "5", "8"]
8.
Array から String
へ ["matz", 48, "dhh", 34].join(’,’) # => "matz,48,dhh,34" "%s(%d)" % ["matz", 48] # => "matz(48)"
9.
Hash とは • 連想配列クラス •
任意のオブジェクトを持つことができる • 任意のオブジェクトをキーにできる {0 => "one", "2" => 3, [4, "4"] => :five} {:AAPL=>566.71, :GOOG=>605.23} {AAPL: 566.71, GOOG: 605.23} # => {:AAPL=>566.71, :GOOG=>605.23}
10.
Hash とは (2) h
= {:AAPL=>566.71, :GOOG=>605.23} h[:AAPL] # => 566.71 h[:MSFT] = 31.16 h[:FB] # => nil
11.
Hash のデフォルト値 sum =
Hash.new{|h, k| h[k] = 0} sum[:FB] # => 0 sum[:TWTR] += 1 sum # => {:FB=>0, :TWTR=>1}
12.
Hash から Array
へ {matz: 48, dhh: 34}.to_a # => [[:matz, 48], [:dhh, 34]] [[:matz, 48], [:dhh, 34]].to_h # => {:matz=>48, :dhh=>34}
13.
Array から Hash
へ a = [:matz, 48, :dhh, 34] Hash[*a] # => {:matz=>48, :dhh=>34}
14.
繰り返し each [0, 1,
2].each{|i| puts i} [0, 1, 2].each do |i| puts i end # >> 0 # >> 1 # >> 2
15.
繰り返し Enumerable • 繰り返しを行なうクラスのための
Mix-in • クラスには each メソッドが必要 Array.ancestors # => [Array, Enumerable, Object, Kerne Hash.ancestors # => [Hash, Enumerable, Object, Kernel
16.
繰り返し Enumerable (2) a
= [1, 2, 3, 5] a.map{|i| i * i} # => [1, 4, 9, 25] a.select{|i| i.odd?} # => [1, 3, 5] a.inject{|s, i| s + i} # => 11 a.find{|i| i.odd?} # => 1 a.all?{|i| i.even?} # => false a.any?{|i| i.even?} # => true
17.
inject a = [1,
2, 3, 5] a.inject do |s, i| s # => 1, 3, 6 i # => 2, 3, 5 s + i # => 3, 6, 11 end
18.
Array のコピー a =
[1, 2, 3] b = a # => [1, 2, 3] a[0] = 0 a # => [0, 2, 3] b # => [0, 2, 3]
19.
Array のコピー (2) a
= [1, 2, 3] a 0 1 2 1 2 3 E © c dd‚ b = a a[0] = 0
20.
Array のコピー (2) a
= [1, 2, 3] a 0 1 2 1 2 3 E © c dd‚ b = a b a[0] = 0
21.
Array のコピー (2) a
= [1, 2, 3] a 0 1 2 1 2 3 E c dd‚ b = a b a[0] = 0 0 c
22.
Array のコピー (3) a
= [a, b, c] b = a.clone # = [a, b, c] a[0] = A a # = [A, b, c] b # = [a, b, c]
23.
Array のコピー (4) a
= [a, b, c] b = a.clone # = [a, b, c] a[1].upcase! a # = [a, B, c] b # = [a, B, c]
24.
Array のコピー (5) a
= [a, b, c] b = a.clone a[0] = A a[1].upcase! a 0 1 2 a b c E © c dd‚
25.
Array のコピー (5) a
= [a, b, c] b = a.clone a[0] = A a[1].upcase! a 0 1 2 a b c E © c dd‚ b 0 1 2E dds T
26.
Array のコピー (5) a
= [a, b, c] b = a.clone a[0] = A a[1].upcase! a 0 1 2 a b c E c dd‚ b 0 1 2E dds T A T
27.
Array のコピー (5) a
= [a, b, c] b = a.clone a[0] = A a[1].upcase! a 0 1 2 a B c E c dd‚ b 0 1 2E dds T A T
28.
演習問題 0 今日のレッスンで分からなかったこと、疑問に 思ったことをグループで話し合ってみよう。
29.
演習問題 1 map を使わずに
map と同じ結果を作ってみよう。 a = [1, 2, 3, 5] # a.map{|i| i * i} # = [1, 4, 9, 25] result = [] a.each do |i| …
30.
演習問題 2 select を使わずに
select と同じ結果を作って みよう。 a = [1, 2, 3, 5] # a.select{|i| i.odd?} # = [1, 3, 5]
31.
演習問題 3 inject を使わずに
inject と同じ結果を作って みよう。 a = [1, 2, 3, 5] # a.inject{|s, i| s + i} # = 11
32.
演習問題 4 与えられた文字列から • 単語の出現回数 •
文字の出現回数 を数えてみよう。
33.
自己紹介 • 名前 (ニックネーム) •
普段の仕事・研究内容・代表作 • Ruby歴・コンピュータ歴 • 勉強会に来た目的 • などなど
34.
参考 • 公式サイト https://www.ruby-lang.org/ • るりま http://docs.ruby-lang.org/ja/ •
解答例 https://github.com/higaki/ learn ruby kansai 60
Baixar agora