Ticker

6/recent/ticker-posts

Header Ads Widget

Responsive Advertisement
Showing posts from August, 2021Show all
Write a Python program to set a new value of an item in a singly linked list using index value.
Write a Python program to access a specific item in a singly linked list using index value.
Write a Python program to find the size of a singly linked list.
Write a Python program to create a singly linked list, append some items and iterate through the list.
Write a Python program to check that a string contains only a certain set of characters (in this case a-z, A-Z and 0-9).
Write a simple Python class named Student and display its type. Also, display the __dict__ attribute keys and the value of the __module__ attribute of the Student class.
Write a Python program to create an instance of a specified class and display the namespace of the said instance.
Write a Python program to create a class and display the namespace of the said class.
 Write a Python program to import built-in array module and display the namespace of the said module.
Write a Python program to create an array of 5 integers and display the array items.
Write a Python program to calculate the sum of all digits of the base to the specified power.
Write a Python program to calculate the discriminant value.
Write a Python program to find the first occurrence of a given number in a sorted list using Binary Search (bisect).
Write a Python program to insert items into a list in sorted order.
Write a Python program to locate the left insertion point for a specified value in sorted order.
 Write a Python function that prints out the first n rows of Pascal's triangle.
 Write a Python function that checks whether a passed string is palindrome or not.
Write a Python program to print the even numbers.
Write a Python function that takes a number as a parameter and check the number is prime or not.
Write a Python function that takes a list and returns a new list with unique elements of the first list.
Write a Python program to sort a given list of lists by length and value using lambda.
 Write a Python program to find the list with maximum and minimum length using lambda.
 Write a Python program to create the next bigger number by rearranging the digits.
Write a Python program that multiply each number using lambda function.
 Write a Python program to find palindromes of strings using Lambda.