Skip to content

VatanaRiantiAldefi-TugasComputing - #14

Open
ghost wants to merge 2 commits into
ComputingTelU:masterfrom
motion-lab-telu:master
Open

VatanaRiantiAldefi-TugasComputing#14
ghost wants to merge 2 commits into
ComputingTelU:masterfrom
motion-lab-telu:master

Conversation

@ghost

Copy link
Copy Markdown

Bismillah

Vatana Rianti Aldefiand others added 2 commits February 24, 2017 20:51

@satriahrhsatriahrh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yang bigrandom bentar lagi bener. Caesar nya kerjain lagi dong

Comment threadbigrandom/answer.py
for i in char :
if (i == "#") :
noh+=1
suc = suc + ord(char)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

char itu string kan ya? bukannya ord() parameternya karakter?

Comment threadcaesar/answer.py

data = open (self.ciphertext,"r");
for x in data.read():
i = ord(x)-key

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jadi key nya berapa nih?

Comment threadbigrandom/answer.py

# your algorithm

data = open ("data.txt", "r")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pakai self.data aja

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@satriahrh