Learn Ratios and Proportions - Solving Proportions

Tell us what’s happening:

Describe your issue in detail here.

My code runs successfully but I don’t see the answer.

Your code so far

Put a zero in for the unknown value

n1 = 1
d1 = 2
n2 = 0
d2 = 16

if n2==0:
answer = n1 * d2 / d1
print = ("n2 = " , answer)

if d2==0:
answer = d1 * n2 / n1
print = ("d2 = ", answer)o far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Learn Ratios and Proportions - Solving Proportions

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.