Write a Python program to check a triangle is equilateral, isosceles or scalene. Write a Python program to check a string represent an integer or not. However, if the sum is between 15 to 20 it will return 20. Write a Python program to sum of two given integers. Go to the editorĮxpected Output: List of months: January, February, March, April, May, June, July, Augustģ4. Write a Python program to convert month name to a number of days. Go to the editorĮxpected Output: Input a letter of the alphabet: kģ3. Write a Python program to check whether an alphabet is a vowel or consonant. After that, each dog year equals 4 human years.Įxpected Output: Input a dog's age in human years: 15ģ2. Note: For the first two years, a dog year is equal to 10.5 human years. Write a Python program to calculate a dog's age in dog's years. Write a Python program to print alphabet pattern 'Z'. Write a Python program to print alphabet pattern 'X'. Write a Python program to print alphabet pattern 'U'. Write a Python program to print alphabet pattern 'T'. Write a Python program to print the following patterns. Write a Python program to print alphabet pattern 'R'. Write a Python program to print alphabet pattern 'P'. Write a Python program to print alphabet pattern 'O'. Write a Python program to print alphabet pattern 'M'. Write a Python program to print alphabet pattern 'L'. Write a Python program to print alphabet pattern 'G'. Write a Python program to print alphabet pattern 'E'. Write a Python program to print alphabet pattern 'D'. Write a Python program to print alphabet pattern 'A'. The numbers obtained should be printed in a comma-separated sequence. Write a Python program to find numbers between 100 and 400 (both included) where each digit of a number is an even number. At least 1 character from Minimum length 6 characters.ġ6.At least 1 letter between and 1 letter between.Write a Python program to check the validity of password input by users. Write a Python program that accepts a string and calculate the number of digits and letters. Write a Python program which accepts a sequence of comma separated 4 digit binary numbers as its input and print the numbers that are divisible by 5 in a comma separated sequence. Write a Python program that accepts a sequence of lines (blank line to terminate) as input and prints the lines as output (all characters in lower case). Go to the editorĮxpected Result :, , ]ġ2. The element value in the i-th row and j-th column of the array should be i*j. Write a Python program which takes two digits m (row) and n (column) as input and generates a two-dimensional array. For numbers which are multiples of both three and five print "FizzBuzz".ġ1. For multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". Write a Python program which iterates the integers from 1 to 50. Note : The Fibonacci Sequence is the series of numbers :Įvery next number is found by adding up the two numbers before it.ġ0. Write a Python program to get the Fibonacci series between 0 to 50. Write a Python program that prints all the numbers from 0 to 6 except 3 and 6.ĩ. Write a Python program that prints each item and its corresponding type from the following list. Write a Python program to count the number of even and odd numbers from a series of numbers. Write a Python program that accepts a word from the user and reverse it. Write a Python program to construct the following pattern, using a nested for loop. If the user guesses wrong then the prompt appears again until the guess is correct, on successful guess, user will get a "Well guessed!" message, and the program will exit.Ĥ. Note : User is prompted to enter a guess. Write a Python program to guess a number between 1 to 9. Write a Python program to convert temperatures to and from celsius, fahrenheit. Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 15 (both included). Python conditional statements and loops ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |