We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd0ae7c commit cd56231Copy full SHA for cd56231
1 file changed
ruby/lesson2/tutorial.md
@@ -9,13 +9,13 @@ _Use the **irb** to try out the examples_.
9
10
> Don't forget to type!
11
12
-### Printing
+### Writing to the console
13
14
`print` is similar to `puts` but it doesn't add a new line to the end of the output.
15
16
`print "x + y ="`
17
18
-### Command line arguments
+### Reading from the console
19
20
To read input from the console:
21
@@ -29,7 +29,7 @@ To read input without the new line use `chomp`
29
input = gets.chomp
30
```
31
32
-###Ranges
+### Ranges
33
34
A range is an interval with a beginning and an end.
35
0 commit comments