zuzux3 / magic-8-ball

Magic 8Ball program in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

magic-8-ball

Magic 8 - Ball program in Python language

Program uses random module for randint function.

Firsty: Program asks user for a name and assign that name as string.

Secondly: wild 'while True' appears in code! Only 'End' can end this loop by the if statement

Thirdly: if user_question != 'End' or 'end' or 'END' our program take a random number and sign it to one string.

Last but not least: program prints out our name and question - then answers it!

About

Magic 8Ball program in python


Languages

Language:Python 100.0%