Skip to content

created binary_to_decimal and decimal_to_binary methods and testing#35

Open
christinaminh wants to merge 2 commits intoAda-C14:masterfrom
christinaminh:master
Open

created binary_to_decimal and decimal_to_binary methods and testing#35
christinaminh wants to merge 2 commits intoAda-C14:masterfrom
christinaminh:master

Conversation

@christinaminh
Copy link

Binary and Decimal

Congratulations! You're submitting your assignment.

Copy link
Collaborator

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

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

Nice work, you hit the learning goals here.

@@ -5,5 +5,77 @@
# Calculate and return the decimal value for this binary number using
# the algorithm you devised in class.
def binary_to_decimal(binary_array)
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 Nice work

Comment on lines +23 to +25
# Method named decimal_to_binary receives decimal number as input
# Calculates and returns the binary value as a number for the decimal number
def decimal_to_binary(decimal)
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 Well done.

Sign up for free to 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.

2 participants