Showing posts from May, 2022
VARIABLES AND DATA TYPES A variable is a name given to a memory location in a program. Example: a=20 name="suman" b=34.34 Data Types in Python Notes: Variable - A container to store the value Keywords - Reserved words in python Identifier…
MODULES, COMMENTS, AND PIP IN PYTHON Let's write our first Python program by creating a python file (first.py) and let us paste the following code into the above program. Python Module print("Hello World") When we execute this program, …
PYTHON PROGRAMMING What is Programming? We use English, Chinese, Hindi, and other languages to communicate with each other in the real world. Likewise, we need a programming language to have a chat with the computer. Programming is a way to instruct t…
MUST DO CODING QUESTIONS FOR COMPANIES LIKE MICROSOFT, FACEBOOK, AMAZON, ADOBE, GOLDMAN SACHS, ...... We're back to helping you ace the interview now that placement season has returned. We've chosen some of the most frequently asked and must-d…
SEARCHING It is a process of finding an element within the list of elements stored in any order. It is not necessary that the data item we are searching for must be present in the list. If the searched item is present in the list then the searching a…
Huffman Algorithm Huffman algorithm is a lossless data compression algorithm. It was developed by David Huffman. It is simply a technique for compressing data to reduce its size without losing any information. Lots of compression systems use the Huf…