Python Program to Access the Index of a List Using for Loop – 2024
Hey guys, in this blog we will see a Python Program to Access the Index of a List Using for Loop. Example 1: Using enumerate Output 0 13 1 4 2 12 3 1 4 18 5 42 Here we…
creating smart machines...
creating smart machines...
Hey guys, in this blog we will see a Python Program to Access the Index of a List Using for Loop. Example 1: Using enumerate Output 0 13 1 4 2 12 3 1 4 18 5 42 Here we…
Hey guys, in this blog we will see a Python Program to Find the Hash of the File. Code Output The following Hash is for an Image file. f792e79b2041b6d1c4fb5da625dd0a293eef8a4d Check out our other python programming examples…
Hey guys, in this blog we will see a Python Program to Count the Number of Each Vowel. Code Output Enter a string -> Hi my name is Abhishek!!! {‘a’: 2, ‘e’: 2, ‘i’: 3, ‘o’: 0, ‘u’: 0} Enter…
Hey guys, in this blog we will see a Python Program to Illustrate Different Set Operations. Code Output Union of E and N is {0, 1, 2, 3, 4, 5, 6, 7, 8} Intersection of E and N is {1,…
Hey guys, in this blog we will see a Python Program to Sort Words in Alphabetic Order. Code Output Enter a string: Hi My Name Is Abhishek Sharma The sorted words are: abhishek hi is my name sharma Enter a…
Hey guys, in this blog we will see a Python Program to Remove Punctuations From a String. Code Output Enter a string: Hey!!! How are you?? Hey!!! How are you?? Hey How are you Enter a string: I am 22…
Hey guys, in this blog we will see a Python Program to Check Whether a String is a Palindrome or Not. A palindrome is a string that is exactly the same when even reversed. For eg. emordnilapalindrome = reverse (emordnilapalindrome)…
Hey guys, in this blog we will see a Python Program to Multiply Two Matrices. Code Output [32, 196, 196, 148] [16, 47, 50, 47] [30, 108, 114, 96] Check out our other python programming examples…
Hey guys, in this blog we will see a Python Program to Transpose a Matrix. Code Output [21, 14, 32] [9, 3, 1] This is the simplest code to transpose a matrix. Suppose the size of the input matrix is…
Hey guys, in this blog we will see a Python Program to Add Two Matrices. Code Output [10, 4, 6] [15, 7, 15] [14, 23, 23] Here we have already made a result matrix in which all the elements are…