-
Notifications
You must be signed in to change notification settings - Fork 0
coding questions
sunilkum84 edited this page Apr 3, 2024
·
4 revisions
- given a string
ccdddaabbprint2c4d2a2b - Print the sum of the current number and the previous number from a list
- Print characters from a string that are present at an even index number
- Remove first n characters from a string
- Check if the first and last number of a list is the same
- Display numbers divisible by 5 from a list
- Return the count of a given substring from a string
- Print the following pattern
- Check Palindrome Number
- Create a new list from a two list using the following condition
- Write a Program to extract each digit from an integer in the reverse order
- Print multiplication table form 1 to 10
- Print downward Half-Pyramid Pattern with Star (asterisk)
- Write a function called
exponent(base, exp)that returns an int value of base raises to the power of exp - Write a function to reverse a string [Reverse a String]
- Write a function to check if a given string is a palindrome (reads the same forwards and backwards) [Palindrome Checker]
- Generate the Fibonacci sequence up to a specified number of terms [Fibonacci Sequence]
- Write a function to check if two strings are anagrams of each other (contain the same characters in a different order) [Check Anagrams]
- Write a function to count the number of words in a sentence [Count Words in a Sentence]
- Python code to get count of each word in a text file
- Python program to get all unique combinations of two Lists
- Python program to find factorial of a number
- Python program to find Fibonacci sequence
- Python program to find power of a number without using power function
Home | Coding Questions | Python | Copyright © 2024-2025 Interview-Guide Tips.