Skip to content

Instantly share code, notes, and snippets.

View prograsshopper's full-sized avatar
🤗

MijiSeo prograsshopper

🤗
View GitHub Profile
@prograsshopper
prograsshopper / python
Last active September 7, 2019 18:13
get_sum_in_lang.py
# Write a command-line program that prints out the sum of two non-negative integers as input arguments.
# Input arguments are UTF-8 encoded Korean characters only listed as '일이삼사오육칠팔구' and '십백천만억조', and also your program's output should be.
# The less you use ifs, the higher you get scored. Google Korean Numbering System if you are not familiar with.
import sys
def get_sum(first_num, second_num):
first_list = [s for s in first_num]
second_list = [s for s in second_num]
end = 0
@prograsshopper
prograsshopper / get_sum_of_two_ints.py
Created September 7, 2019 14:34
command-line program that prints out the sum of two non-negative integers
# Write a command-line program that prints out the sum of two non-negative integers as input arguments.
# You must not use any built-in BigInteger library or convert the inputs to integer directly.
import sys
def get_sum(first_num, second_num):
first_list = [s for s in first_num]
second_list = [s for s in second_num]
end = 0