Rayhan’s blog (raynux.com)

Rayhan’s Personal Web Blog Site

Entries Comments


Category: Ruby



I have started learning both Ruby & Python

15 July, 2008 (23:58) | programming, Python, Ruby | No comments

Tags: , ,


Today I have started learning Python, after a successful start I have found that in Python the code block is separated by indent. That means no closing braces or ending identifier. like def whats_on_the_telly(penguin=None): if penguin is None: penguin = [] penguin.append(“property of the zoo”) return penguin   def another_func(): return 1 Here, the function [...]