Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Papufu

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

  • one year ago
  • one year ago

  • This Question is Closed
  1. math_proof
    Best Response
    You've already chosen the best response.
    Medals 1

    declare it as int or float?

    • one year ago
  2. Papufu
    Best Response
    You've already chosen the best response.
    Medals 0

    x = float(x) ?

    • one year ago
  3. math_proof
    Best Response
    You've already chosen the best response.
    Medals 1

    what language?

    • one year ago
  4. Papufu
    Best Response
    You've already chosen the best response.
    Medals 0

    python

    • one year ago
  5. math_proof
    Best Response
    You've already chosen the best response.
    Medals 1

    you can try it

    • one year ago
  6. Papufu
    Best Response
    You've already chosen the best response.
    Medals 0

    ok thank you! that part is done but now im stuck at the next....

    • one year ago
  7. Papufu
    Best Response
    You've already chosen the best response.
    Medals 0

    after i get the calculations for this. I want it to appear as . Minimum payment : calculated value. How do i do this part?

    • one year ago
  8. math_proof
    Best Response
    You've already chosen the best response.
    Medals 1

    print("Minimum payment:",x)?

    • one year ago
  9. Papufu
    Best Response
    You've already chosen the best response.
    Medals 0

    :D :D ;D thank you!!!!!!!!!

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.