Skip to content

Instantly share code, notes, and snippets.

Avatar
😇
SAO

item4(Kim Jinsu) item4

😇
SAO
View GitHub Profile
@item4
item4 / array_merge1.py
Created Jun 18, 2015
Library wiki - Merge arrays / Python
View array_merge1.py
a = [1, 2, 3]
b = [4, 5, 6]
a = a + b # or a += b for shorten
@item4
item4 / strrev.py
Created Jun 14, 2015
Library wiki - strrev / Python 3
View strrev.py
line = input('String: ')
print(line[::-1])
@item4
item4 / strrev.py
Last active Aug 29, 2015
Library wiki - strrev / Python 2
View strrev.py
line = raw_input('String: ').decode('u8')
print line[::-1]