Un-Answered Questions { Code Snippets }

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

667


Write a program to reverse a number in python?

569


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

589


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

766


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

587


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

1134


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

595


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

660


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

596


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

579


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

613


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

646


How do you set a global variable inside a function?

573


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

621


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

619