What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-09 13:40:23
luhn algorithm python
#Worse #This is the longer Luhn's algorithm with step-by-step instructions #Function to split a string into a list of all its constituent characters def split_char(number_string): return [char for char in number_string] #Function to convert a string... Add solution -
TypeScript 2021-10-12 11:22:04
how to input elements in list in python using for loop
#to get integer list integer_list = list(map(int, input().split())) #to get char or str list, just replace int with str str_list = list(map(str, input().split())) #syntax of map(): map(dataType, iterable [, iterable2, iterable3,...iterableN]) Add solution
Best helpers
Ranking is empty