May-08-2019, 11:16 PM
before i write this function, i'm curious if such a thing already exists in Python. the function would be given a series of arguments or a list with a variable sequence of values. for each value that is an int, it specifies to change a current position indicator. for each value that is a string, it specifies a sequence to place into the result string. the result would be built virtually and return a string with the laid out result.
layout(8,'foo',-1,'bar')
-> 'bar foo'
layout('foo',2,'bar','xyz')
-> 'fobarxyz'
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.