The repository contains a collection of different programming snippets to different programming languages from own developments as well as other projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Michael Reber b880c3ccde Initial commit 3 years ago
..
Calculate the length of a string.py Initial commit 3 years ago
Python function to convert a given string to all uppercase if it contains at least 2 uppercase characters in the first 4 characters.py Initial commit 3 years ago
Python function to create the HTML string with tags around the word(s).py Initial commit 3 years ago
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).py Initial commit 3 years ago
Python function to get a string made of its first three characters of a specified string.py Initial commit 3 years ago
Python function to get the first half of a specified stiring of even length.py Initial commit 3 years ago
Python function to insert a string in the middle of a string.py Initial commit 3 years ago
Python function to reverse a string if it's length is a multiple of 4.py Initial commit 3 years ago
Python program to add a prefix text to all of the lines in a string.py Initial commit 3 years ago
Python program to change a given string to a new string where the first and last chars have been exchanged.py Initial commit 3 years ago
Python program to check whether a string starts with specified characters.py Initial commit 3 years ago
Python program to create a Caesar encryption.py Initial commit 3 years ago
Python program to display a number with a comma separator.py Initial commit 3 years ago
Python program to display formatted text (width=50) as output.py Initial commit 3 years ago
Python program to find the first appearance of the substring 'not' and 'poor' from a given string, if 'bad' follows the 'poor', replace the whole 'not'...'poor' substring with 'good'.py Initial commit 3 years ago
Python program to format a number with a percentage.py Initial commit 3 years ago
Python program to get a single string from two given strings, separated by a space and swap the first two characters of each string.py Initial commit 3 years ago
Python program to print the following floating numbers upto 2 decimal places with a sign.py Initial commit 3 years ago
Python program to print the following floating numbers upto 2 decimal places.py Initial commit 3 years ago
Python program to print the following floating numbers with no decimal places.py Initial commit 3 years ago
Python program to print the following integers with zeros on the left of specified width.py Initial commit 3 years ago
Python program to remove a newline.py Initial commit 3 years ago
Python program to remove existing indentation from all of the lines in a given text.py Initial commit 3 years ago
Python program to remove the characters which have odd index values of a given string.py Initial commit 3 years ago
Python program to remove the nth index character from a nonempty string.py Initial commit 3 years ago
Python program to reverse a string.py Initial commit 3 years ago
Python program to set the indentation of the first line.py Initial commit 3 years ago
Python program to sort a string lexicographically.py Initial commit 3 years ago
Python program to strip a set of characters from a string.py Initial commit 3 years ago