Guys can you tell me what's problem in this code...... This works fine in other applications. Thank you 😀😀 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Guys can you tell me what's problem in this code...... This works fine in other applications. Thank you 😀😀

https://code.sololearn.com/cRjC0xsc6pmM/?ref=app

23rd Aug 2019, 9:21 PM
Dope Tube
Dope Tube - avatar
5 Answers
+ 3
Dope Tube The problem with your program appears to be that you have an odd character within your second input function which is messing with the SL playground (it may have been put there as a tab in another IDE perhaps). Just removing the whitespace between + item + should allow it to run
23rd Aug 2019, 9:52 PM
Faisal
Faisal - avatar
+ 1
Faisal Sir your trick worked Well.....thank You
24th Aug 2019, 6:38 AM
Dope Tube
Dope Tube - avatar
23rd Aug 2019, 9:28 PM
HonFu
HonFu - avatar
0
Sir honfu I only know about python..... I don't understand what you're saying
23rd Aug 2019, 9:30 PM
Dope Tube
Dope Tube - avatar
0
try:- SP = float(input("Enter SP of item {} : ".format(item))) Had another look in the original code you gave, there something just after the second ''+". Do a backspace the re-apply the space.
23rd Aug 2019, 9:54 PM
rodwynnejones
rodwynnejones - avatar