Loading...
「ツール」は右上に移動しました。
利用したサーバー: natural-voltaic-titanium
6いいね 84回再生

Guessing Game | Python Mini Project | Python Mini Game | Pycharm

This is going to be a simple guessing game where the computer will generate a random number between 1 to 10, and the user has to guess it in 5 attempts.

Based on the user's guess computer will give various hints if the number is high or low. When the user guess matches the number computer will print the answer along with the number of attempts.

{
This is how the game looks in action:
Hello, What's your name?

Ashik

okay! Ashik I am Guessing a number between 1 and 10:

2
Your guess is too low
4
Your guess is too low
6
You guessed the number in 3 tries!
}

In this video, we will guide you through each step of making this interactive guessing game in Python.

Thanks for Watching my video !!! Hope, it'll help you...

Subscribe to ‪@SoulfulIslamicReadings‬

Instagram : @the_in.novator

コメント