Solution Exercise 32: all the lists obtained by swapping the terms of a given list in Python
Exercise 32 Write a program in Python that returns all the lists obtained by swapping the terms of a given list. Solution """import itertools module : This module implements many…
Solution Exercise 31: retrieves list of even integers and odd integers with Python
Exercise 31 Write a Python program that retrieves the list of even integers and the list of odd integers from a list of numbers. Solution # 1) define the function…
Google would use hidden web pages to better track you
A mechanism called "Push Pages" would create a unique identifier for each user. It would then be shared with the Authorized Buyers advertising auction customers.Brave just planted a few more…
Solution Exercise 30: search common element in two lists with python
Exercise 30 Write a function in Python that allows to compare two lists and to tell us if these two lists have a common value or not. Solution # define…
Solution Exercise 29 remove duplicate elements in a list with python
Exercise 29 Write a Python program that removes duplicate items from a list. Solution First method # -*- coding: utf-8 -*-# define a function that remove duplicate element in listdef…
Google launches Android 10 in final version, overview of news
Without being the update of the decade, Android 10 brings a few new welcome to our smartphones. Pixels are entitled to it today.It is the regime that Google launches the…
Solution Exercise 28: try if a list or string is empty with python
Exercise 28 Write a Python program that tests whether a list is empty or not. Same question for a string of characters. Solution First method Try if a list is…