Menu
If the length of the string is less than 3 then return the original string. Write a Python function to get a string made of its first three characters of a specified string. Write a Python function to get a string made of 4 copies of the last two characters of a specified string (length must be at least 2). Write a Python program to count the number of characters (character frequency) in a string. Write a Python program to calculate the length of a string.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |