This file contains hidden or 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 random | |
word_list = ["aardvark", "baboon", "camel"] | |
chosen_word = random.choice(word_list) | |
word_length = len(chosen_word) | |
print(f'Pssst, the solution is {chosen_word}.') | |
display = [] | |
for _ in range(word_length): |
This file contains hidden or 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 #For keeping console clean | |
os.system('cls') #Windows | |
os.system('clear') #Linux | |
#clearing console function | |
def clear_(): | |
os.system('cls') #Windows | |
os.system('clear') #linux | |
print(''' | |
******************************************************************************* |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<p></p> |