Skip to content

Instantly share code, notes, and snippets.

Ryan Wallerius Ryanwall15

View GitHub Profile
@Ryanwall15
Ryanwall15 / hello_world.py
Created Oct 10, 2019
Hello World Examples
View hello_world.py
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
@Ryanwall15
Ryanwall15 / hello_world.md
Last active Oct 10, 2019
Hello World Examples
View hello_world.md

Run ruby hello_world.rb or python hello_world.py to print Hello World

@Ryanwall15
Ryanwall15 / hello_world.rb
Created Oct 10, 2019
Hello World Examples
View hello_world.rb
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created Oct 9, 2019
Hello World Examples
View hello_world.rb
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created Oct 9, 2019
Hello World Examples
View hello_world.rb
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created Oct 9, 2019
Hello World Examples
View hello_world.rb
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created Oct 9, 2019
Hello World Examples
View hello_world.rb
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created Oct 9, 2019
Hello World Examples
View hello_world.rb
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created Oct 9, 2019
Hello World Examples
View hello_world.rb
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created Oct 9, 2019
Hello World Examples
View hello_world.rb
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
You can’t perform that action at this time.