Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
word repeat
#python 3.5.2 def letter_repeater(n, string): word = " " for char in list(string): word += char * n print (word) letter_repeater(2, 'monkeysdogs') #python 3.5.2 def kalakari(n,string): word =" " for char in list(string): word+=char*n print(word) kalakari(2,"waheguru")
run
|
edit
|
history
|
help
0
324
Подсчет функции
вложенные циклы Квадрат
Grupo1
PySlots2
ACII_Art
Greatest Common Factor (Euclidean algorithm, aka Euclid's algorithm)
Remove all Adjacent duplicates using a loop
PythonSimpleBook1
Skillenza - Marker Count