Ace school

with brainly

  • Get help from millions of students
  • Learn from experts with step-by-step explanations
  • Level-up by helping others

A community for students.

Hi. if i am typing x= 5000 and y = 0.2, when i type it in (x)*(y) the programme is saying they cant multiply strings . how do I write it in such a way where it actually can multiply 5000*0.2. Problem 1 of task 1

MIT 6.00 Intro Computer Science (OCW)
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions

declare it as int or float?
x = float(x) ?
what language?

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

python
you can try it
ok thank you! that part is done but now im stuck at the next....
after i get the calculations for this. I want it to appear as . Minimum payment : calculated value. How do i do this part?
print("Minimum payment:",x)?
:D :D ;D thank you!!!!!!!!!

Not the answer you are looking for?

Search for more explanations.

Ask your own question