Un-Answered Questions { Code Snippets }

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

513


Write a program to reverse a number in python?

465


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

485


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

629


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

447


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

946


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

474


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

507


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

466


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

469


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

485


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

502


How do you set a global variable inside a function?

457


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

494


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

503