Skip to content

Tag Archives: Python string-programs

Given two strings, the task here is to write a python program that can test if they are almost similar. Similarity of strings is being… Read More
Given two strings, the task is to write a python program to join them by every delimiter from delimiter list. Input : test_str1 = ‘Geeksforgeeks’,… Read More
Given a String list, the task is to write a Python program to convert uppercase strings if length is greater than K. Examples: Attention geek! Strengthen… Read More
Given a String, our task is to write a Python program to check if string contains both numbers and alphabets, not either nor punctuations. Examples: Attention… Read More
Given a matrix, our task is to write a Python program to convert to the matrix, with different delimiters for element and row separation. Examples: Attention… Read More
Given 2 Strings, our task is to check overlapping of one string’s suffix with prefix of other string.  Input : test_str1 = "Gfgisbest", test_str2 =… Read More
Given a String, the task is to write a Python program to compute maximum scoring words i.e words made of characters with a maximum positional… Read More
Given a String, the task is to write a Python program to replace occurrences by K of character at 1st index, except at 1st index.… Read More
Given a String, the task is to write a Python program to convert its characters to uppercase randomly. Examples: Attention geek! Strengthen your foundations with the… Read More
Given a list, the task is to write a Python program to mark the duplicate occurrence of elements with progressive occurrence number. Input : test_list… Read More
Given an input string with lowercase letters, the task is to write a python program to identify the repeated characters in the string and capitalize… Read More
Given a String of date of format YYYYMMDD, our task is to compute the life path number.  Life Path Number is the number obtained by… Read More
Given a Strings list and substring, the task is to write a Python program to extract all the strings that has all the characters that… Read More
Given a string, the task is to write a Python program to extract the acronym from that string. Examples: Attention geek! Strengthen your foundations with the… Read More
Given a list with string elements, the task is to write a Python program to return True if all list elements are sorted. The point… Read More

Start Your Coding Journey Now!