There are many differences and similarities between Ruby and Python programming language.
||Ruby is an open source web application programming language.
||Python is a high level programming language.
||Fully object oriented programming language.
||Not fully object oriented programming language.
||Yukihiro Matsumoto in 1990s.
||Guido Van Rossum in 1980s.
||EclipseIDE is supported.
||multiple IDEs are supported.
||It has smaller library than Python.
||Has larger range of libraries.
||Mixins are used.
||Mixins can't be used.
||Ruby on Rails
||Mainly focused on web.
||Focussed in academia and Linux.
The Washington post
||Built-in classes can be modified
||Built-in classes can't be modified
|Unset a variable
||Once a variable is set you can't unset it back . It will be present in the symbol table as long as it is in scope.
||del statement help you to delete a set variable.
||It will execute another function that has been passed as the final argument, then immediately resume.
||It returns execution to the scope outside the function's invocation. External code is responsible for resuming the function.
||Support blocks, procs and lambdas.
||Support only lambdas.
||Doesn't have functions.
||It has functions.
||It doesn't support tuples.
||It support tuples.
||It support switch/case statement.
||It doesn't support switch/case statement.
||Its lambda functions are larger.
||It support only single line lambda function.
||Support single inheritance.
||Support multiple inheritance.