Python basics refresh
-
Updated
Dec 14, 2023 - Python
Python basics refresh
A tool to automatically convert old string literal formatting to f-strings
Understanding Transformation and operations on List containing dictionaries with integers and strings. Implements string manipulation contained within mutable list.
This repo is about learning python from basic to advanced level.
Democritus functions for working with Python strings.
This repository contains all the materials for CSE3011-Python-Programming at VIT Bhopal University.
Count ways to split a Binary String into three substrings having equal count of a's
These functions take a string named _word_ and a single or multi character named _x_ as parameters. The function should return the number of times _x_ appears in _word_.
substring_between_letters() takes a string named _word_, a single character named _start_, and another character named _end_. This function should return the substring between the first occurrence of _start_ and _end_ in word. If _start_ or _end_ are not in _word_, the function should return _word_. For example, substring_between_letters("apple"…
Password Generator Tool using standard Python Library
function make_spoonerism() takes two strings as parameters named _word1_ and _word2_. Spoonerism switch the first letters of each word and returns the two new words as a single string separated by a space.
unique_english_letters takes a string word as a parameter. The function should return the total number of unique letters in the string. Uppercase and lowercase letters should be counted as different letters. The list of every uppercase and lower case letter in the English alphabet is in a string "letters".
check_for_name() takes two strings as parameters named _sentence_ and _name_. The function should return _True_ if _name_ appears in sentence in all lowercase letters, all uppercase letters, or with any mix of uppercase and lowercase letters. The function should return _False_ otherwise.
add_exclamation() takes one parameter named _word_. This function should add exclamation points to the end of _word_ until word is 20 characters long. If _word_ is already at least 20 characters long, just return _word_.
Python Basic Programs
Generate a table of contents from the headers of your markdown file.
Welcome to the Python Practice Code Repository! This repository is a collection of Python practice exercises and solutions aimed at helping my improvement and Python programming skills.
function every_other_letter() takes a string named _word_ as a parameter. The function returns a string containing every other letter in word.
String utilities for python
Add a description, image, and links to the python-strings topic page so that developers can more easily learn about it.
To associate your repository with the python-strings topic, visit your repo's landing page and select "manage topics."