Answer Posted / Gagan Gunjan
Ruby and Python have several differences: Ruby is more flexible in terms of syntax, using whitespace to define structure, while Python uses indentation. Ruby is also dynamically typed (with optional type checking), and it supports multiple inheritance, while Python is statically typed and does not support multiple inheritance. Lastly, Ruby emphasizes metaprogramming and has a rich introspection API.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers