0

Why do we have to repeat the lines?

Print( Hello World ) Print( Hello World ) Print ( whatever) do we have to make it on this way each time we write a code ? or just one time can be enough? I'm confused a little bit because my first step of learning programs was with C# and I really gave up.

15th Dec 2016, 9:27 PM
Mohammed Alnasser
Mohammed Alnasser - avatar
3 Réponses
+ 1
you can use print function as many times as you want. it's just a communication between program and user. use it when it is needed, course only shows you that you can execute any command anytime.
15th Dec 2016, 10:11 PM
Demeth
Demeth - avatar
+ 1
Please note its print and not Print You can call it as many times as you want The way it is in your code is wrong if you want to print Hello world do like this print("hello world") If you don't put the " " the words in between () are considered to be strings
15th Dec 2016, 10:38 PM
Agaba Ivan
Agaba Ivan - avatar
0
Thanks for you all that was really heplful !
16th Dec 2016, 1:51 AM
Mohammed Alnasser
Mohammed Alnasser - avatar