Oefening - Galgje

Sign in to test your solution.
import random # Dit stukje code leest een willekeurig woord van 8 tekens in # Dit is een stukje voor de "Sandbox" import urllib3 target_url = "https://tinyurl.com/2dfecxkz" http = urllib3.PoolManager() response = http.request('GET', target_url) woorden = response.data.decode('utf-8').split("\n") woord = random.choice(woorden) # Dit is een stukje voor het indienen in Dodona #woorden = open('words.txt').read().split("\n") #woord = random.choice(woorden) # Hieronder komt je de rest van je programma tekens = "????????" # Gebruik deze variabele
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.

  Python sandbox

This window allows you to run Python code without installing a thing. The code you write here is <b>not</b> automatically submitted to Dodona.