Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ツールとしてのプログラミング
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Takuma Masuda
March 08, 2021
24
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ツールとしてのプログラミング
社内勉強会用に作成したスライドです。プログラミングの初歩の初歩です。
Takuma Masuda
March 08, 2021
More Decks by Takuma Masuda
See All by Takuma Masuda
「ゼロトラスト」のキホンのキ
tmgauss
0
240
ハッカーがあなたのECサイトに不正にアクセスする方法
tmgauss
0
61
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
Crafting Experiences
bethany
1
380
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Leo the Paperboy
mayatellez
10
2.4k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
480
Art, The Web, and Tiny UX
lynnandtonic
304
22k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Transcript
Programming as a Tool
Overview Learn Build
Overview Learn Build
Goal Use programming as a tool.
Programming as an option Data Plug-in
Programming as an option Data Plug-in
Why Programming? Why not Excel? VS
Why Programming? In short, both are okay: nothing but a
tool. VS
Why Programming? In short, both are okay: nothing but a
tool. VS But sometimes, it is better to use programming than Excel.
Programming over Excel You can do more things. 1 You
can process data much faster. 3 Web You can have an access to resources on Web. 2
Overview Learn Build
Programming in 10 minutes 10 10 Get necessary knowledge in
just 10 minutes.
Programming Language Python Choose Python because it is relatively easy
to use.
Variables You can put in variables numbers, strings and so
on x = 1 # xʹ1Λೖ print(x) # ग़ྗɿ1 my_str = ‘Hello, world!’ print(my_str) # ग़ྗɿHello, world!
Calculation You can calculate something with variables. x = 1
+ 2 # 3 y = 3 + x # 6 str_head = ‘Hello, ’ your_name = ‘Takuma’ str_tail = ‘!’ my_str = str_head + your_name + str_tail
if if Execute different processing according to the given condition.
x = 1 + 2 # 3 y = 3 + x # 6 str_head = ‘Hello, ’ your_name = ‘Takuma’ str_tail = ‘!’ my_str = str_head + your_name + str_tail x = 1 if x == 1: print(‘x is 1’) else: print(‘x is not 1’)
for for Execute the same processing many times. x =
1 + 2 # 3 y = 3 + x # 6 str_head = ‘Hello, ’ your_name = ‘Takuma’ str_tail = ‘!’ my_str = str_head + your_name + str_tail N = 3 for i in range(N): print(i) # ग़ྗɿ0, 1, 2
List You can put objects like numbers and strings in
a list. x = 1 + 2 # 3 y = 3 + x # 6 str_head = ‘Hello, ’ your_name = ‘Takuma’ str_tail = ‘!’ my_str = str_head + your_name + str_tail list = [1, 8, 5, 4] for i in range(4): print(list[i]) # ग़ྗ: 1, 8, 5, 4
Function You can reuse the same processing with functions. x
= 1 + 2 # 3 y = 3 + x # 6 str_head = ‘Hello, ’ your_name = ‘Takuma’ str_tail = ‘!’ my_str = str_head + your_name + str_tail def incr_two(x): return x + 2 y = 4 ans = incr_two(y) print(ans) # ग़ྗ 6
Library On the shoulders of Giants
Let’s try it! Let’s try to write your own codes.
Overview Learn Build
Let’s build it! Let’s try to build it.
Let’s build it! You are given a list of clients.
1 Finish the quest by filling up the blanks. 3 Web You wanna guess each link to the companies’ web. 2
Toda raba!