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
Delete
Share
This Question is Closed
math_proof
Best Response
You've already chosen the best response.
1
declare it as int or float?
Papufu
Best Response
You've already chosen the best response.
0
x = float(x) ?
math_proof
Best Response
You've already chosen the best response.
1
what language?
Papufu
Best Response
You've already chosen the best response.
0
python
math_proof
Best Response
You've already chosen the best response.
1
you can try it
Papufu
Best Response
You've already chosen the best response.
0
ok thank you! that part is done but now im stuck at the next....
Papufu
Best Response
You've already chosen the best response.
0
after i get the calculations for this. I want it to appear as . Minimum payment : calculated value. How do i do this part?
math_proof
Best Response
You've already chosen the best response.
1
print("Minimum payment:",x)?
Papufu
Best Response
You've already chosen the best response.
0
:D :D ;D thank you!!!!!!!!!