Python program to truncate a number to integer. Python provides math.trunc and int() methods to truncate numbers. In this post, I will show you how to use math.trunc and int() with example.
ReadLearn to create a basic tableview in iOS swift in XCode. We will use storyboard to create the tableview with a list of items. Learn how to create the UI in XCode.
ReadLearn how we can split a string in typescript. We will learn three different ways to split a string in typescript. We can use the split method of string to split a string in typescript.
ReadSwift program to find the first and last character of a string in swift in two different ways. We can use first, last properties or startIndex, endIndex to find the first and last character of a swift string.
ReadPython program to print a mirrored right angled triangle using star or any other character. Take the height of the triangle as input and print it.
ReadPython program to create a linked list. This program will show you how to create a linked list, how to add node and print all nodes in python with example.
ReadPython program to find all prime numbers in a range. The program will take the first and the last number of the range as input from the user and print out all prime numbers in that range.
ReadPython program to check if a triangle is valid or not. The program will take the angles as input from the user and print out a message if it is valid or not.
ReadLearn the difference between append() and extend() methods of python list. Both methods are used to add items to a list. This post will show you the difference between them.
ReadKotlin program to create adapter callback in Android using lambda function. Lambda function makes it easy to implement adapter callback.
Read