Categories
status

Richard Feynman’s letter to his student

No problem is too small or too trivial if we can really do something about it.

For the full text:
http://genius.cat-v.org/richard-feynman/writtings/letters/problems?utm_source=hackernewsletter&utm_medium=email&utm_term=fav

Categories
status

Array construction in R, Perl, and Python

Array construction in R, Perl, and Python

R:

data

Perl:

@data = (1, 2, 3)
@data[2..3]
%hash = ('a' =>; 'b')
$hash{a}

Python:

data = [1, 2, 3, 'a', 'b', 'c']
data[2:3]
tuple = (1, 2, 3, 'a', 'b', https://buycbdproducts.com  # immutable
dict = {'a': 'America', 'c': 'Canada'}
dict['a']