Notes
Notes - notes.io |
a variable is a made of two thing its name and its value
Name is a label of each box(example) where we can find easily what box is there in the warehouse
The name of a variable should reflect its content, i what we store there
value are what we put in the box sometimes it can be a default value that will be assigned to a variable
assigning a value to a variable for the first time is called initialization
functions can have parameters and return values.
a return value is the result of running the function. The return value is returned to the code that called the function, to be used as needed.
the parameters are the data necessary for a function to be run and generate a result.
parameters are variables defined by a name. Parameters are specified in the function declaration.
when using a function, you pass it different values as parameters. These values are called arguments.
you can use the help function to print the documentation of a given function.
a class is the outline of an object, defining its attributes and methods. From the same class, you can therefore create several objects of the same type, but with different attributes—these are called class instances.
replace(old, new) : this method takes two arguments: old and new, both of which are strings. The method returns the original string with all occurrences of old replaced with new.
find(string) returns either the index of the first occurrence of the string passed in the argument, or -1 if it does not find it.
A class is a construction plan for an object.
A variable is an instance of a class, or an object.
An object is defined by its attributes.
All instances of a class have access to the same methods via the. (dot) notation.
A method, like a function, generally does not modify the initial object.
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team