La fonction float() en Python

La fonction float() en python renvoie un nombre à virgule flottante à partir d'un nombre ou d'une chaîne. La fonction float() effectue sa tache en analysant la variable passée en paramètre: Si la variable passée en paramètres est un nombre entier, elle lui ajoute une virgule flottant avec un zéro à la fin (exemple 3…

Exercises With Solutions On Python lists

Exercise 1 || Solution Write a python algorithm to display all elements of a given list by two different ways. Exercise 2 || Solution Write a Python algorithm to swap the first element with the last element of a given list. Example: if L = ["Python", "Java", "C++", "Javascript"], the algorithm returns the list: ["Javascript",…

Menubutton Python Tkinter

1. Le widget menubutton Un menubutton est la partie d'un menu déroulant qui reste constamment à l'écran. Chaque menubutton est associé à un widget Menu qui peut afficher les choix pour ce menubutton lorsque l'utilisateur clique dessus. Syntaxe

Paramètres master: Ceci représente la fenêtre parente. options: les options peuvent être utilisées comme paires clé-valeur…

Solution Exercice 1: message de bienvenue en python

Exercice 1 Ecrire un programme en langage Python qui demande à l'utilisateur de saisir son nom et de lui afficher son nom avec un message de bienvenue ! Solution

  Younes Derfoufi CRMEF OUJDA

Introduction To HTML Language

1. What is HTML ? HTML stands for (Hyper Text Markup Language). It is a language made up of markup and hyperlinks, which is used to create web pages. It is composed of semantic and structural elements, which define how parts of the document (headings, paragraphs, lists, images etc.) should be presented in the browser.…