Python Program Practise
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 sequence.
Unicode Related
- Print a Unicode string "hello Odoo".
- Write a program to read an ASCII string and to convert it to a unicode string encoded by utf-8.
- Write a special comment to indicate a Python source code file is in unicode.
Functions
- Write a program to compute 1/2+2/3+3/4+...+n/n+1 with a given n input by console (n>0). Example:
- If the following n is given as input to the program:
- 10
- Then, the output of the program should be:
- 7.98
- In case of input data being supplied to the question, it should be assumed to be a console input.
- Write a program to compute:
- f(n)=f(n-1)+100 when n>0
- and f(0)=1
- with a given n input by console (n>0)
- Please write a program to print the running time of execution of "1+1" for 100 times.
Book a techie for your business and get started with us. Inwizards Odoo Development Company is your go to place for all software solutions. Lead our company towards success with Inwizards LLC.
ReplyDeleteWhy Inwizards?
Experienced Odoo Developers
500+ successful projects delivered
Mastery in latest technologies
Transparent workflow
Affordable
Support and maintenance
Diverse medium to interact with developers
If you want to achieve success for your business, Inwizards LLC provides the best odoo development services.
Feel free to get in touch with us for further discussions and pricing details. Here are our contact details:
Website Address: https://inwizards.com/hire-odoo-developers-India.php
Email: info@inwizards.com
Call: USA- +1-(979)-599-0896 | IN- +91-9667584436