PPrasannainprasannarv.hashnode.dev·Aug 29, 2021 · 3 min readprintf style formatting in pythonString objects have one unique built-in operation: the % operator (modulo). This is also known as the string formatting or interpolation operator. Given format % values (where format is a string), % conversion specifications in format are replaced wi...00
PPrasannainprasannarv.hashnode.dev·Mar 8, 2021 · 2 min readIntroduction to numpy Part-INumpy a library stands for numerical python used to handle array's in python which is faster than list, written basically on c/c++ and partially on python. As it a module we must import it. In Python we have lists that serve the purpose of arrays, bu...00
PPrasannainprasannarv.hashnode.dev·Feb 10, 2021 · 2 min readLinked list in PythonA well known data structure from C, Java is linked list ie..the linear collection of data elements whose order is not given by their pyhsical placement memory.Instead, each element points to the next. It is a data structure consisting of a collection...00
PPrasannainprasannarv.hashnode.dev·Feb 5, 2021 · 1 min readTop 5 py tricks..1.FACTORIAL OF A NUMBER To find the factorial of any number don't need of four to five lines of code in python as of c,c++,java.Just import math module then follow the code as import math print(math.factorial(5))...00