• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
LLの虎 semifinal: 殺伐Python
 

LLの虎 semifinal: 殺伐Python

on

  • 1,545 views

 

Statistics

Views

Total Views
1,545
Views on SlideShare
1,035
Embed Views
510

Actions

Likes
1
Downloads
2
Comments
0

2 Embeds 510

http://d.hatena.ne.jp 501
http://moriyoshi.hatenablog.com 9

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    LLの虎 semifinal: 殺伐Python LLの虎 semifinal: 殺伐Python Presentation Transcript

    • VS.
    • class Hello class Hello(object): def initialize(name) def __init__(self, name): @name = name self.name = name end def greet def greet(self): print "Hello, " + print "Hello, " + "#{@name}n" self.name end end Hello("mmm").greet() Hello.new("mmm").greet
    • class Hello(object) def __init__(self, name) self.name = name end def greet(self) print "Hello, " + self.name end end Hello("mmm").greet()
    • class Hello: def initialize(name): @name = name def greet: print "Hello, #{@name}n" Hello.new("mmm").greet