Write a program to print cost of purchase a item from 5 any product. Accept input of Product name and quantity. In python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Write a program to print cost of purchase a item from 5 any product. Accept input of Product name and quantity. In python

plz anybody slove this

13th Sep 2022, 12:03 PM
Parth Hamjade
Parth Hamjade - avatar
3 Answers
+ 3
Looking at: https://code.sololearn.com/c0uxgI8fsKBV/?ref=app You need to remove the spaces at the front of each of your lines. INDENTATION is very important in python. For example; print("this is correct") =/= print("this is incorrect")
9th Jul 2023, 6:31 PM
Ausgrindtube
Ausgrindtube - avatar
+ 3
We can help you, we just need to see where you are stuck. Write your code into the code playground and attach it here.
13th Sep 2022, 12:14 PM
Ausgrindtube
Ausgrindtube - avatar