Skip to content

Commit

Permalink
create individual class issue heavywatal#2 (heavywatal#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazuki526 authored and heavywatal committed May 4, 2017
1 parent a07961e commit df52d20
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Kazuki526/individual.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! /usr/bin/env python


class Individual:
def __init__(self, idn):
self._id = idn


sample1 = Individual(1)
print "sample1 id is", sample1._id
print ("sample1 id is", sample1._id)

sample2 = Individual(2)
print "sample2 id is", sample2._id

0 comments on commit df52d20

Please sign in to comment.