

Write a Python program to get n (non-negative integer) copies of the first 2 characters of a given string. Write a Python program to count the number 4 in a given list.

Write a Python program that determines whether a given number (accepted from the user) is even or odd, and prints an appropriate message to the user. Write a Python program that returns a string that is n (non-negative integer) copies of a given string. Return the string unchanged if the given string already begins with "Is". Write a Python program to get a newly-generated string from a given string where "Is" has been added to the front. If the values are equal, return three times their sum. Write a Python program to calculate the sum of three given numbers. Write a Python program to test whether a number is within 100 of 1000 or 2000. If the number is greater than 17, return twice the absolute difference. Write a Python program to calculate the difference between a given number and 17. Write a Python program to get the volume of a sphere with radius six.ġ6. Write a Python program to calculate the number of days between two dates. Write a Python program to print the following 'here document'. Write a Python program that prints the calendar for a given month and year.ġ3. Return the absolute value of the argument.ġ2. Write a Python program to print the documents (syntax, description etc.) of Python built-in function(s). Write a Python program that accepts an integer (n) and computes the value of n+nn+nnn. Sample Output : The examination will start from : 11 / 12 / 2014ġ0. Write a Python program to display the examination schedule. Write a Python program to display the first and last colors from the following list. Write a Python program that accepts a filename from the user and prints the extension of the file. Write a Python program that accepts a sequence of comma-separated numbers from the user and generates a list and a tuple of those numbers. Write a Python program that accepts the user's first and last name and prints them in reverse order with a space between them.

Write a Python program that calculates the area of a circle based on the radius entered by the user. Write a Python program to display the current date and time.Ĥ. Write a Python program to find out what version of Python you are using. Twinkle, twinkle, little star, How I wonder what you are"Ģ. Sample String : "Twinkle, twinkle, little star, How I wonder what you are! Up above the world so high, Like a diamond in the sky.

Write a Python program to print the following string in a specific format (see the output).
