Solution Exercise 74: list of numbers entered without repetition
Exercise 74 Write a Python algorithm that asks the user to enter successively 7 integers and display the list of numbers entered by ignoring repeated numbers. Example if the user…
Python Courses & Exercises with solutions !
Exercise 74 Write a Python algorithm that asks the user to enter successively 7 integers and display the list of numbers entered by ignoring repeated numbers. Example if the user…
Exercise 73 Write a function which takes as parameter a variable of type string s and another string T, and returns the list of positions of a pattern s in…
Exercise 46 1. Define a Book class with the following attributes: Title, Author (Full name), Price.2. Define a constructor used to initialize the attributes of the method with values entered…
Exercise 45. Computation class: 1 - Create a Coputation class with a default constructor (without parameters) allowing to perform various calculations on integers numbers.2 - Create a method called Factorial()…
Exercise 44. Circle class 1 - Define a Circle class allowing to create a circleC (O, r) with center O(a, b) and radius r using the constructor: def __init__(self,a,b,r): self.a…
Exercise 72 Write a function which takes an element x and a list L as a parameter, and returns the list of positions of x in L. The function must…
Exercise 71 Write a Python algorithm that transforms a list of integers L = [n1, n2, n3, ..., np] by adding 1 to the first element, 2 to the second…