#!/usr/bin/python
# -*- coding: utf-8 -*-
# Reversing a list using reversed()
def Reverse(lst):
return [ele for ele in reversed(lst)]
# Driver Codelst = [
10,
11,
12,
13,
14,
15,
]
print Reverse(lst)
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Reversing a list using reversed()
def Reverse(lst):
return [ele for ele in reversed(lst)]
# Driver Codelst = [
10,
11,
12,
13,
14,
15,
]
print Reverse(lst)
Write a Python program to get the the volume of a sphere with radius 6
Python program to print formatted string
program to display the examination schedule
Python Program to sort alphabetically the words form a string provided by the user
List to string conversion in python
Python program to accept a filename from the user and print the extension of that
Write a Python program to test whether a number is within 100 of 1000 or 2000
Python Program to generate a random number between 0 and 9