Example of Python casefold method

Python casefold method example : casefold() method is used to convert all characters in a string to lowercase. It doesn’t take any parameter. You can directly call this method to a string. It returns the new lowercase character string. casefold() method is useful can be used to compare two strings Read more…

Python trigonometric functions list

Trigonometric functions in python

Introduction : Finding out the trigonometric value like sine, cosine or tangent will be hard if we don’t use any package or library. Almost every programming language provides trigonometric functions. For python, these are defined in the math module. math module in Python provides different types of mathematical functions defined Read more…

Python enumeration explanation with examples

Enumeration in python with examples

Enumeration in python : Using enumeration can improve the readability of your code. Enumeration is a set of key-value pairs with each key is a symbolic name bound to its value. You can use the symbolic name in your code using enumeration to make it more readable. Python provides one Read more…

Python degree and radian conversion

Python degree and radian conversion

Degree and radian in python : math module in python provides two different methods for a degree to radian and radian to degree conversion. Degree and radian are used for angle measurement and conversion of one to another are frequently used in applications like weather apps. You can write your Read more…