Python Miscellaneous
This is a collection of miscellaneous concepts in python.
![python built in function](../assets/python/python-built-in-functions.webp)
Python Built-in Functions
Python has a set of built-in functions that you can use directly without any need to import them.
![python add to list](../assets/python/python-add-to-list.webp)
Python add to list
Learn how to add elements to a list in Python using 5 different methods with examples.
![python append list to another list](../assets/python/python-append-list-to-another-list.webp)
Python append list to another list
Learn how to add elements to a list in Python using 5 different methods with examples.
![string comparison in python](../assets/python/string-comparison-in-python.webp)
String Comparison in Python
Learn different ways for different conditions to compare strings in Python.
![string formatting in python](../assets/python/string-formatting-in-python.png)
String Formatting in Python
Format strings in python to insert variables inside a string for readability and to customize output.
![python number format](../assets/python/python-number-format.png)
Python number format
Format numbers in python to make them more readable and display them in a specific format.
![python string to datetime](../assets/python/python-string-to-datetime.webp)
Convert python string to datetime object
Learn how to convert python string to datetime object using strptime() method using various different examples.
![python append multiple items to the list](../assets/python/python-append-multiple-items-to-list.webp)
Python append multiple items to the list
Get to know 4 different methods by which you can append multiple items to a list at once in Python.
![pattern program in python](../assets/python/pattern-program-in-python.webp)
30 Pattern Program In Python
Create 30 different pattern programs in Python. Creating all types of patterns using Python will help you learn the concepts of programming deeply.
![Pyramid pattern in python](../assets/python/pyramid-pattern-in-python.webp)
Pyramid Pattern In Python
Create different pyramid pattern like full pyramid, hollow pyramid, inverted pyramid, and mirrored pyramid in Python with complete code.
![python compare two lists](../assets/python/python-compare-two-lists.webp)
Python compare two lists
Compare two lists in Python, Check if all elements of a list are present in the same order in another list, check if all element is present in other (in any order), etc.
![python list extend vs append](../assets/python/python-list-extend-vs-append.png)
Python list extend vs append
Extend and append are 2 different methods used to add elements to a list in Python. Learn what is the difference between them and which one is better in which situation.
![python merge two lists](../assets/python/python-merge-two-lists-using-extend-method.png)
Python merge two lists
Merging two lists in Python is a very common task. Learn 6 different ways by which you can merge two lists in Python.
![python remove multiple items from list](../assets/python/python-remove-multiple-items-from-list.webp)
Python remove multiple items from list
As we add elements to a list in Python, sometimes we need to remove multiple items from a list. Here you will learn how to remove multiple items from a list in Python.
![Rock Paper Scissors in Python](../assets/python/rock-paper-scissors-in-python-pygame.gif)
Rock Paper Scissors in Python
Learn how to create a Rock Paper Scissors game in Python using the Pygame library. This is a beginner-friendly project for Python developers.
![Tic Tac Toe game in Python](../assets/python/tic-tac-toe-game-in-python.gif)
Tic Tac Toe Game In Python
Tic Tac Toe is a very famous game in the world. Let's create a simple tic tac toe game in python that can be played in the terminal and an advanced game in python using Pygame.
![BMI calculator Python](../assets/python/bmi-calculator-python.webp)
BMI Calculator Python
BMI calculator could be a good beginner-friendly project for Python developers. In this tutorial, you will learn how to calculate your BMI in Python.
![convert list to string Python](../assets/python/convert-list-to-string-python.webp)
Convert List To String Python
Sometimes you need to convert a list to a string to display it in the terminal or for some other purpose. In this tutorial, you will learn how to convert a list to a string in Python.
![convert string to list Python](../assets/python/convert-string-to-list-python.webp)
Convert String To List Python
Sometimes you need to convert a string to a list to get characters or words from a sentence. In this tutorial, you will learn how to convert a string to a list in Python.
![find max and min in a list python](../assets/python/find-max-and-min-in-a-list-python.webp)
Find max and min in a list Python
Let's know different methods to find the maximum and minimum in a list in Python with example code.
![remove element from list python](../assets/python/remove-element-from-list-python-speed-comparison.png)
Remove element from list python
Learn 3 different ways to remove element from a list in Python with example code.
![check if string contains substring python](../assets/python/check-if-string-contains-substring-python.webp)
Check if string contains substring Python
Finding a substring in a string is a very common task. In this tutorial, you will learn 7 different ways to find a substring in a string in Python.
![generate random number in Python](../assets/python/random-number-generator-in-python.webp)
Generate Random Number Python
Random numbers are used a lot in computer programming, to test a program, to guess a number, etc. Here you will learn how to generate random numbers in Python.
![python string contains substring](../assets/python/python-string-contains-substring.webp)
Python string contains substring
Let's look at 4 different ways to check if a string contains a substring in Python.Also, 2 ifferent ways to get the location of the substring in the string.
![Reverse string in Python](../assets/python/reverse-string-in-python.webp)
Reverse string in Python
Reverse a string in Python is a very common task. In this tutorial, you will learn how to reverse a string in Python using 6 different ways.
![Remove item from dictionary Python](../assets/python/remove-item-from-dictionary-python.webp)
Remove item from dictionary Python
Learn multiple different methods to remove items from a dictionary in Python with example code.
![Python dictionary update](../assets/python/python-dictionary-update.webp)
Python dictionary update
Python dictionary is a mutable data type. It elements can be modified. Let's look at various methods to update an item in dictionary.
![How to use proxy with Python requests](../assets/what-is-proxy-server.png)
How to use proxy with Python requests
Learn how to use proxy with Python requests library. We will use the requests library to send a request to a website using a proxy.