Un-Answered Questions { Code Snippets }

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

508


Write a program to reverse a number in python?

455


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

483


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

622


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

439


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

935


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

465


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

500


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

458


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?

478


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?

483


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

495