+ 1

Guys how do we solve the code of ballpark orders

7th May 2024, 3:37 PM
Raine04
Raine04 - avatar
51 Respostas
+ 4
Raine04 you should start a new post for each different topic. We are now on the third question and are officially off topic. I'll answer anyway: ordinary round() won't do for the Duct Tape task. You'll have to round up. You can use the ceil() function for that.
10th May 2024, 5:16 PM
Brian
Brian - avatar
+ 5
Jacob Morgunov the op has not yet posted a coding attempt. By posting your full code you bypass the learning process.
7th May 2024, 9:51 PM
Brian
Brian - avatar
+ 4
Link to the Ballpark Orders task https://www.sololearn.com/coach/15?ref=app Wilbur Jaywright there is a way to search in the general Code Coach tasks, but not the ones embedded in courses. Go to the Community tab. In the Code Coach section click on VIEW MORE. There you can click on the magnifying glass icon to search for a title.
7th May 2024, 4:34 PM
Brian
Brian - avatar
+ 4
no, this is not your code... if you are a total beginner, this will be hard at the moment :/ you need to know: - split - for loop - if/else condition - round ( - dictionary)
7th May 2024, 5:15 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 4
Jacob Morgunov very true, learning happens also by reading code written by others, and I support that. It is a sort of litmus test that the community uses to guage sincere help requests, which is to check whether the OP shows evidence of original coding effort. I'll say no more here, as there is risk we have hijacked the post and gone off topic.
8th May 2024, 5:10 AM
Brian
Brian - avatar
+ 3
Raine04 I am very sorry if I have come across as being rude. It was not the intended spirit of any of my comments. With different backgrounds and cultures it is hard to ensure no one will be offended.
8th May 2024, 4:42 PM
Brian
Brian - avatar
+ 2
yes, and I'm still waiting for that linking code, I have the answer for you :-)
7th May 2024, 3:56 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 2
Jacob Morgunov If op was going to study by default, he wouldā€™ve studied the lessons. There is no old natural human will to ask for ā€œhelpā€ with a coding challenge without trying at all oneself (and, as far as we know, op did not try), and then study the answer handed to one without any explanation.
8th May 2024, 12:36 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 2
Raine04 OP is an acronym for "original poster"
8th May 2024, 9:29 AM
Jacob Morgunov
Jacob Morgunov - avatar
+ 2
Here is where you can learn about the ceil() function in Python: https://gprivate.com/6b4we
11th May 2024, 8:05 AM
Brian
Brian - avatar
+ 1
Brian Perhaps, but not necessarily. It depends. By studying the code he can learn as well.
7th May 2024, 11:11 PM
Jacob Morgunov
Jacob Morgunov - avatar
+ 1
Yeah I have not taken lessons but I would make sure to learn and then try šŸ˜Š BTW you guys are very straightforward i like that
8th May 2024, 8:59 AM
Raine04
Raine04 - avatar
+ 1
What's op and why are guys addressing me with that?
8th May 2024, 9:00 AM
Raine04
Raine04 - avatar
+ 1
did anyone explain the code? (or just threw it: here it is, this one works?) from copying the code is hard to learn.... note: `cost * 107/100` is the same as `cost * 1.07`
8th May 2024, 1:59 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 1
Mihaly Nyilas nope, they did not. By the way, thatā€™s possibly a good use for an LLM: Have it review answers to see if they are helpful, blackbox, or just spam.
8th May 2024, 3:41 PM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 1
Actually i haven't learned about dictionaries yet that's why BTW thanks but I'll try myself people are getting too offended when i ask for help
8th May 2024, 4:31 PM
Raine04
Raine04 - avatar
+ 1
Brain why do you need to be so rude like i know op must not be used for me specifically
8th May 2024, 4:32 PM
Raine04
Raine04 - avatar
+ 1
I don't think anyone here is offended, don't worry :)
8th May 2024, 4:35 PM
Jacob Morgunov
Jacob Morgunov - avatar
+ 1
Hmm got it šŸ‘
8th May 2024, 5:46 PM
Raine04
Raine04 - avatar
+ 1
https://www.sololearn.com/coach/63?ref=app Guys I was doing this but can't get what is wrong
9th May 2024, 5:42 PM
Raine04
Raine04 - avatar