Question: Write a program which will find all such numbers which are divisible by 7 but are not a multiple of 5, between 1000 and 2100 (both included). The numbers obtained should be printed in a comma-separated sequence on a single line. With a given integral number n, write a program to generate a dictionary that contains (i, i*i) such that is an integral number between 1 and n (both included). and then the program should print the dictionary. Write a program which accepts a sequence of comma-separated numbers from console and generate a list and a tuple which contains every number. 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. Write a program which accepts a sequence of comma separated 4 digit binary numbers as its input and then check whether they are divisible by 5 or not. The numbers that are divisible by 5 are to be printed in a comma separated sequenc...
Comments
Post a Comment