Guide to coding
Thread Topic: Guide to coding
-
-
Guide to coding
what is coding?
Coding is a programming language, used for sometimes hacking and people use it to create programs, websites, and games generally with coding. In here you will find tips and tricks and basic code to get you started.
what do you code with?
Coding is generally on a computer, with terminal or a program downloaded off the web or app store. There are many coding languages to code with. python, JavaScript, c++, C++, and lua.
is it hard to learn to code?
It depends. Some languages are more advanced than the others.
If you want to start coding, start with python. Then maybe check out my JavaScript guides.
Now we will talk about creating stuff.
Have fun!
Open up terminal. Once you have it open, type: python
Press enter.
It will say a few stuff, and you will see ». That is the beginning of the line. Type in
» my_message = ("hello world!")
» my_range = range(300)
» for I in my_range:
» Print (my_message)
»
»
And you should see it say
Hello world! 300 times. To change the message, change line 1 to :
» my_message = (" insert text here")
And to change the number of times it writes it, go to
My_range = 300
And change the 300 to any number. Not to high, bc that will widen the chance of crashing the program.
how did we do that?
This is the part that tells the computer what to write. » my_message = ("hello world!")
The 'range' is the number of times to print it. »
my_range = range(300)
Forget about this but still write it
» for I in my_range:
Print means display. Not to print on paper, but on screen.
» Print (my_message)
Press enter twice
»
»
now what?
Save it in a file. Name the file: my first python program!
done?
tell me how it went!
questions?
Ask me!
noticed any flaws in the code? Do not hesitate to tell me.
Experiment around with it!!!
want me to make one on a different coding language? Tell me! -
Sorry.
Coding is generally on a computer, with terminal or a program downloaded off the web or app store. There are many coding languages to code with. python, JavaScript, c++,C++,CSS and lua. -
Now please submit questions if you want.
-
you forgot to mention java. it's one of the biggest ones
-
Wrong. It's not exactly coding.Java is an object-oriented programming language (OOP), and JS is specifically an object-oriented scripting language.
-
But I will mention it in the next one.
-
is java not a programming language, used for sometimes hacking and people use it to create programs, websites, and games?
-
You have a good point I think you fot it right and I didnt
-
please post questions here
-
[poll.mB1]
-
Wow, I am always amazed by people who understand this XD
How did you guys even learn this stuff?! -
Some of my friends are taking a coding class/elective, that's probably how
-
I leant when I was 4 and I programmed my first website when I was 7, and made my first 3D game when I was 10
-
:0 you smart child
Post a reply as a guest or Log In
REMEMBER:
- Do not harass or insult other people. Treat others how you'd like to be treated.
View all 10 forum rules
- Do not harass or insult other people. Treat others how you'd like to be treated.
View all 10 forum rules