Bosala ba mini-jeux misato oyo esalemi na makomi na Python.
**Lisano 1: Libanga, Papye, Sizo** ```python import random print('Boyei malamu na Libanga, Papier, Sizo!') choix = ['libanga', 'papier', 'cizo'] player_score = 0 comp_score = 0 alors que Solo: player_choice = input('Pona libanga, papier to sizo: ').lower().strip() soki player_choice te na ba choix: print('Pona ya mabe. Meka lisusu.') else: comp_choice = random. choice(choices) print('Ordinatɛrɛ aponaki:', comp_choice) soki mosani_pona == comp_choice: imprimer('Ezali \ 'ezali tirage!') elif player_choice == 'libanga' mpe comp_choice == 'ciseaux': imprimer('Yo kolonga!') mosani_pona += 1 elif mosani_pona == 'papier' mpe comp_choice == 'libanga': print('Olongi!') mosani_score += 1 elif mosani_pona == 'ciseaux' mpe comp_choice == 'papier': print('Olongi!') player_score += 1 else: print('Olongi!') comp_score += 1 print('Ba scores: Mosani -', player_score, 'Ordinateur -', comp_score) ``` **Lisano 2: Deviner Motango** ```python import random print('Boyei malamu na Devinette Motango!') num = random.randint(1, 100) guess = 0 alors que Solo: guess = int(input('Kotisa devinette na yo : ')) ba devinette += 1 soki ba devinette < num: print('Na nse mingi.' Meka lisusu.') elif guess > num: print('Likolo mingi. Meka lisusu.') else: print('Ozwi yango na kati', devinette, 'devinette!') break ``` **Jeu 3: Hangman* * ```python import maloba ya pamba pamba = ['python', 'ordinateur', 'artificiel', 'mayele', 'programmation'] liloba = random.choice(maloba) word_letters = set(mot) alphabet = set('abcdefghijklmnopqrstuvwxyz ') used_letters = set() print('Boyei malamu na Hangman!') while len(word_letters) > 0: print('Osaleli ba lettres oyo:', ' '.join(used_letters)) word_list = [letter soki lettre na used_letters else '_' mpo na lɛtrɛ na liloba] print('Liloba ya lelo:', ' '.kosangana(liste_ya_maloba)) user_letter = input('Devinez letre: ').lower() soki mosaleli_letter na alphabet