0
Can't solve Supersale test case #4 !
https://code.sololearn.com/cLCb6vAxyDSO/?ref=app Any ideas? I'm about to explode ... 😤 Any help appreciated 😋
7 Antworten
+ 3
Matthias Matznick The float() method is used to return a floating point number from a number or a string. The method only accepts one parameter and that is also optional to use.
+ 2
Matthias Matznick please re-create your code on the playground * keep private and remove the above code details to remain compliant to the rules regarding asking questions about the pro code coach rules ...
Thanks and happy coding
+ 2
https://code.sololearn.com/cexwZ58s25El/?ref=app
Convert to float during input solved the issue, though I don't fully understand. Converting to float while calling the elements from the list didn't work, and I can't spot the difference.
If someone can explain I'd be grateful.
+ 1
With 'playground' do you mean the 'code bits' section? Am I allowed to link to the code from here?
+ 1
Thanks for the reminder, I wasn't familiar with the rule since I found a lot of code directly written in the posts. I hope it's ok now. I'd like to upvote your first comment but can't because I get the 'activate your account' error, though it should be activated. I'll do it when the issue is solved.
Have a good time!
+ 1
Matthias thank you for following the code coach pro rules... I will look at it soon. But in the meantime let's see how much effort the community helps.
0
Matthias Matznick as long as it is private yes from the code bits section and yes you can link it here. But you may not directly make the code public as that is not allowed.