+ 1
Product of the given numbers
How to write code for Product of the given numbers. Input: The first line of input is a positive integer N Next N lines each contain an integer. Output: Output should be a product of given input intergers. Sample input 1. 3 2 3 7 Sample input 2. 4 11 2 4 9
11 Answers
+ 5
Galstyan ,
please do not provide a ready made code. this does not help the op to improve his knowledge and coding experience.
it is better to give hints or a description, so that the coder has a chance to solve the task by himself.
+ 2
Brother, I didn't say that you did it specifically, I wrote who put the dislike. At least I wanted to help him with heart Korkunç the Terrible Frusciante
+ 1
Which programming language do you use?
+ 1
Lothar Totally agree! I thought to help him with the example. To see and be able to solve the remaining problems on his own in the future. Possibly a beginner.
+ 1
Galstyan I am a noob myself and I never dislike genuine questions. The people you've pinged don't either. They are the experts in this place, and the expected behavior from us is that we try to come up with a code first, so that we actually learn, and people have an idea what our misunderstandings or lack of knowledge are. Because of that expected response is not to provide people with solutions right away. It doesn't teach, and is also a bit disrespectful to a helper.
I don't understand why you addressed me because I haven't posted anything here, until now, or disliked someone's code in this discussion?
+ 1
Galstyan It's great that you want to help someone and do all you can.
Look:
On my first or second day here I replied someone with a code.
I was downvoted. I thought why that could be, and realized why.
It's simply not helpful. I wouldn't want someone to give me everything, I could never learn that way.
Imagine:
You have this code, it works fine, but you have no idea what the person did. You understand a line or two, but you cannot understand the rest, which then prevents you to isolate and identify your own misconception. So in that situation, the code is not helpful at all. Coding cannot be passively learned. If lots of people do a course and then assume it's enough cause they got some jpg that says "certificate", and then are bummed out because they can't solve a problem, it's because they have no idea how much they need to play with a code.
Noone personally disrespected you here. They're just letting you know that this place works by a code of conduct that people have explicitly and tacitly agreed to
0
Tq Galstyan,
Sry for this
Actually am a beginner in python
Am unable to find out the logic that's why I posted this.
Any how tq allđ
0
venkatesh nani yeah i got it all
0
No expert has the right to do such a thing! There was a time when I was a beginner and I really needed help whatever
0
Korkunç the Terrible Frusciante You're right đđ»