Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tugas ke6 #2

Merged
merged 23 commits into from
Feb 2, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update gede.py
  • Loading branch information
mathovanidimas authored Jan 9, 2018
commit af0ab232ddf43ea337eb31cb8a0560c72ea283f2
15 changes: 15 additions & 0 deletions gede.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,18 @@ def selectJalan(self,Jalan Terusan Perintis):
if a[1] == Jalan Terusan Perintis:
return i
i = i + 1


def selectJalan(self,Jalan Cipedes Atas):
i = 0
for a in self.sf.records():
if a[1] == Jalan Cipedes Atas:
return i
i = i + 1

def selectJalan(self,Jalan Setrasari Raya):
i = 0
for a in self.sf.records():
if a[1] == Jalan Setrasari Raya:
return i
i = i + 1