AndroidManifest.xml: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.an...
Read More
24 Program to print the number in words for example: 1234=> One Two Three Four in Python
Program: num = int(input("Enter any number:")) t = list() while num > 0: rem = num %10 if rem == 0: ...
Read More
23 Program to find the repeated items of a tuple using Python
Program: t = [int(x) for x in input("Enter any value:").split()] t = tuple(t) print("Repeated Values:") for i in range...
Read More
22 Program to create a tuple and find the minimum and maximum number from it using Python
Program: t = tuple() t = [int(x) for x in input("Enter any 5 value:").split() ] minimum = t[0] maximum = t[0] for i in ...
Read More
21 Program to select the even items of a list using Python
Program: l = list() l = [x for x in input("Enter any number of value: ").split()] length = len(l) print("Even items...
Read More
20 Program to find common items from two lists using Python
Program: l1 = list() l1 = [x for x in input("Enter any 5 value for l1: ").split()] l2 = list() l2 = [x for x in input(&quo...
Read More
19 Program to reverse a list using Python
Program: l = list() l = [x for x in input("Enter any 5 value: ").split()] length = len(l) print("Reverse List:",...
Read More
18 Program to get the smallest number from a list using Python
Program: l = list() l = [int(x) for x in input("Enter any 5 value: ").split()] small = l[0] for i in l: if small &g...
Read More
17 Program to get the largest number of a list using Python
Program: l = list() l = [int(x) for x in input("Enter any 5 value: ").split()] large = l[0] for i in l: if large &l...
Read More
16 Program to multiples all the items in a list using Python
Program: l = list() l = [int(x) for x in input("Enter any 5 value: ").split()] multi = 1 for i in l: multi = multi *...
Read More
Subscribe to:
Posts (Atom)