Un-Answered Questions { Code Snippets }

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

684


Write a program to reverse a number in python?

582


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

606


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

770


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

599


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

1145


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

611


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

675


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

603


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

590


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

631


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

654


How do you set a global variable inside a function?

579


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

629


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

635