A number is called a palindromic number if it remains same even if the digits are reversed. For example, 1123 is not a palindrome number but 12321 is a palindrome.
ReadTextInput component is used in React native for entering text. In this tutorial, we will learn how to use a TextInput component to listen to the entered text and when the editing ends.
ReadShowing an Alert message in React-Native is easier than you think. If you want to show a custom alert to the user, then you need to create a different component, but for default alert, we can use one API known as Alert.
ReadTypechecking means validation of a specific type before using it. For example, if one component of your application is showing one string line, then typechecking will verify if the value we are trying to show is actually a valid string or not. If any other types of values like a number is passed, it will show one warning message on the console.
Readpretty() method is used mainly to display the result in a more easy-to-read format. In this tutorial, I will show you how to use pretty() method and how the data looks with and without using pretty() and how the data looks like. The syntax of pretty() method is as below :.
ReadIn this tutorial, we will learn how to replace multiple characters of a string with a different set of string. This is also known as the translation of a string. Python provides one inbuilt method to do the translation. I will show you one example below to implement this operation in python.
ReadPython raw strings are used to treat backslash as a literal character. Using raw strings, we can print '\n', '\t' etc. as any other characters. In this post, we will learn what is python raw string with different examples.
ReadPython program to convert an integer or float to hexadecimal. We can use the hex method or float.hex method to convert an int or float value to hex value.
ReadLearn to sort a list of items in Kotlin in both ascending and descending orders. We will also learn how to sort a list of objects with a comparator and with a selector.
ReadIf you want to do certain operation on the elements of a list serially, you can use fold(). This method takes one initial value and one operation to perform on the elements serially starting from the provided initial value. fold() performs the operation from left to right. If you want to do it from right to left, you can use foldRight().
Read