Solution Exercise 2: python algorithm to swap a two elements in given list
Exercise 2 write python algorithm to swap the first element with the last element of given list. Example: if L = ["Python" , "Java" , "C++" , "Javascript"] , the…
Python Courses & Exercises with solutions !
Exercise 2 write python algorithm to swap the first element with the last element of given list. Example: if L = ["Python" , "Java" , "C++" , "Javascript"] , the…
Execise 1 || Solution write python algorithm to display all element of given list by two differents ways. Exercise 2 || Solution write python algorithm to swap the first element…
Execise 1 write python algorithm to display all element of given list by two differents way Solution # dfine a some listL = ["laptop" , "ipad" , "iphone" , "tablet"…
Exercise 48 Write a program as a function which takes as parameters a pair of strings (s1, s2) and which returns the string s obtained by concatenating in an alternative…
Exercise 47 Write a python program that determines the list of all the words which contains at least one uppercase character in a given text T. Example if T =…
Exercise 46 Write a Python program as a function which takes as parameter a string s and which returns the list of all the words contained in s whose length…
Exercise 45 Write a python program as a function which takes as parameters a character string s and which returns another string obtained from s by replacing all the characters…