Python Practice Programs
Python Practice Programs
1)Write a program which will find all such numbers which are divisible by 7 but are
not a multiple of 5,
between 2000 and 3200 (both included).
4) Write a program that accepts a comma separated sequence of words as input and
prints the words in a comma-separated sequence after sorting them alphabetically.
Suppose the following input is supplied to the program:
without,hello,bag,world
Then, the output should beforbag,hello,without,world
5) Write a program that accepts sequence of lines as input and prints the lines
after making all characters in the sentence capitalized.
Suppose the following input is supplied to the program:
Hello world
Practice makes perfect
Then, the output should be:
HELLO WORLD
PRACTICE MAKES PERFECT