This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); |
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 4 columns, instead of 2. in line 3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title,image,link,description | |
Ron DeSantis abandonne la course à la Maison Blanche et soutiendra Trump,https://cdn.lenouvelliste.com/shared/skeleton-image.webp,https://lenouvelliste.com/article/246449/ron-desantis-abandonne-la-course-a-la-maison-blanche-et-soutiendra-trump,"Le gouverneur de Floride Ron DeSantis, un temps perçu comme le principal rival de Donald Trump sur sa route vers l'investiture républicaine, a annoncé dimanche jeter l'éponge et se rallier derrière le milliardaire en vue de la présidentielle de novembre." | |
Le pape demande la libération des six religieuses enlevées à Port-au-Prince,https://cdn.lenouvelliste.com/shared/skeleton-image.webp,https://lenouvelliste.com/article/246446/le-pape-demande-la-liberation-des-six-religieuses-enlevees-a-port-au-prince,"Le pape François a appelé dimanche à la libération d'un groupe de huit personnes, dont six religieuses, enlevées en Haïti, pays ravagé par la violence des gangs." | |
Port-de-Paix : nouvelle vague de kidnapping sur la route nationale #5,https://cd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import random | |
BLANK_CASE:str = ' ' | |
FILLED_CASE:str = '🧱' | |
BOARD_SIZE: int = 6 | |
clear = lambda: os.system('clear') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CHOICES = ['W', 'P', 'S'] | |
const WIN_CHOICES = ['PW', 'SP', 'WS'] | |
let wantToContinue = true | |
let ordi_choice | |
let ordi_score = 0 | |
let user_choice | |
let user_score = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from sys import platform | |
from os import environ | |
import time | |
OS = platform | |
USER = environ['USERNAME'] | |
PASSWORD = "1234" | |
MESSAGE = """ | |
# # ##### # # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import choice, randint | |
def clspace(string: str) -> str: | |
return string.replace(" ", "") | |
def get_len(string: str) -> str: | |
return len(clspace(string)) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import randrange | |
MAX = 100 | |
CHANS = 5 | |
nonb_kache = randrange(0, MAX) | |
print("Nonb_kache: ", nonb_kache) | |
print(f"Byenvini nan Jwèt la !\nOu gen {CHANS} Chans pou w jwenn yon nonb ant 0 ak {MAX}\n") | |
while True: |