In den Erklärungen zuvor wird für mich nicht ersichtlich, dass ich bei der Variable String "text" für einen Text eingeben muss. In der Lösung wird das plötzlich verlangt.
Na klar habe ich verstanden, dass String für texte da ist. Aber die Bespiele mit Amigo sind ja auch mit z.B. String s und nicht nicht String text.
Lamacun
Level 0
Warum String text statt z.B. String a
In der Diskussion
Kommentare (3)
- Beliebt
- Neu
- Alt
Du musst angemeldet sein, um einen Kommentar schreiben zu können
Lamacun
15 Juli 2022, 18:58
Thx for your fast anwer. Yeah i´ve tried it a few times but it felt like Codegym was only interested in one solution only. But still - totaly new to this kind of stuff and ofcourse i made mistakes ! But after all I´m happy to learn something like this that way! Hope to find my own way though.
0
Guadalupe Gagnon
15 Juli 2022, 20:11
Without seeing what code you were trying to submit I can't say what the problem is. I do know that Codegym is very strict with following the task directions. If the task says to output a specific line such as this:
any of these outputs would be an automatic fail:
Also, if you feel overwhelmed at any time learning to program that is VERY common when people first start learning to program. You have to realize that humans started inventing computers a few 100's of years ago, only getting to the current rendition of electronic computer in the last 80 years or so. Since that time we have steadily progressed in the way we make the computers do things with better and better computer languages. To get to where Java is now took many different genius level people multiple generations to come up with; so if you don't understand it all in a month you are completely normal. 0
Guadalupe Gagnon
15 Juli 2022, 13:44
Codegym's solution is only 1 solution out of many. In this task didn't have to use a String variable at all and could have just output the sentence 5 times:
or you could have use a for loop, a while loop, a do loop. You could have used variables if you wanted and named them anything you wanted. There are many different acceptable ways to solve this task and no one way is better than the next.
As a tip -
I don't suggest downloading the solution until after you have solved the task. If you download the solution before you passed or tried and failed 20+ times you are hurting your learning and this course won't teach you much.
I know students on here that struggled a lot but put a serious effort into solving each task on their own and now they have jobs as programmers, and I know other students that reached level 40 by downloading almost every task and they can't pass any interviews because they don't know how to program. 0