March 2022 1 4 Report
Python
Napisz funkcję, która pobiera liczbę integer i string, zwraca tyle pierwszych liter stringa ile wynosi integer. Jeżeli integer jest większy od ilości znaków w wyrazie to zwraca cały wyraz.
func(6, 'abcdefghij') -> abcdef
Daję naj

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.