Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-training
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Đường Sỹ Hoàng
ruby-training
Commits
01618fc3
Commit
01618fc3
authored
Oct 31, 2019
by
Đường Sỹ Hoàng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More Printing
parent
753aeef6
Pipeline
#97
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
exercise7.rb
+22
-0
No files found.
exercise7.rb
0 → 100644
View file @
01618fc3
puts
"Mary had a little lamb."
puts
"Its fleece was white as
#{
'snow'
}
."
puts
"And everywhere that Mary went."
puts
"."
*
10
# what'd that do?
end1
=
"C"
end2
=
"h"
end3
=
"e"
end4
=
"e"
end5
=
"s"
end6
=
"e"
end7
=
"B"
end8
=
"u"
end9
=
"r"
end10
=
"g"
end11
=
"e"
end12
=
"r"
# watch that print vs. puts on this line what's it do?
print
end1
+
end2
+
end3
+
end4
+
end5
+
end6
print
end7
+
end8
+
end9
+
end10
+
end11
+
end12
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment