Un-Answered Questions { Code Snippets }

Write a python program to swap the first and last value of a list?

510


Write a program to reverse a number in python?

457


Write a python program to check common letters in two input strings?

483


What is the output when we execute list(“hello”)?

624


Write a python program to check if a number is a strong number?

442


What is the output, suppose list1 is [1, 3, 2], what is list1 * 2 ?

937


Write a python program to check if a number is a prime number?

468


Write a python program to check if a number is a perfect number?

503


Write a python program to print table of a given number?

460


Write a python program to check if a number is an armstrong number?

463


Write a python program to find the second largest number in a list?

479


Write a python program to check if a string is a palindrome or not?

494


How do you set a global variable inside a function?

452


Write a program to find sum of the digits of a number in python?

484


Write a python program to count the number of vowels in a string?

498