This challenge shows my progress in Python over 20days.
The 20 days challenge is engineered by @jirevwe and @yudori (my tutors) with a purpose to help me grow in my understanding and solving of pythons like questions and problems.
Over the 20 days, I learnt:
x
for hexidecimal and o
Octal while the normal division for binary.__init__
and __pycache__
.The contents of this challenge include:
This requests for firstname, lastname and age and prints them out telling you the year you were born.
This requests a sentence from the user and prints it in two different reverse forms.
A number between 0 and 1000000000 is randomly selected by the computer and converted to a random base between 2 and 16 except 10.
This collects the contents of two files, combines them and writes the comibined data into another file.
This is a game that the computer chooses a random word from a text file containing 852 words. The player tries to guess the exact word, following the game's introduction.
The game uses the rich library to show color and style to the introduction as well as what the game prints out. It runs with the rich console width of 120.
console = Console(width=120)
At the start the player gets an introduction and the rules of the game to ensure the player is familiar with the output.
Then the game tells the player to guess a letter. If the player doesn't follow the instruction, the following output prints depending on which rule was ignored.
Whereas, if a letter is guessed correctly, the game prints the following:
See hangman to play or clone the repository.