Shashank Sharma
@shashankgsharma
Python Developer and Machine Learning enthusiast.
Gandhinagar, Gujarat.
Public Repls
Community
0
TurtleRaceIn this repl, the turtle module is used to start a turtle race, where the user guesses the winner. There are seven different turtles, which move in random speed and at random distance each time.
0
0
0
TheTriviaQuizThis repl prompts the user for three modes of play: Movies, IPL or CS, based on which the trivia questions are asked. The number of questions being asked depends upon the difficulty level selected by the user.
The user gets a +1 score for a correct answer, 0 for incorrect. The Secret code for exiting the quiz in between is 'exit'.
0
0
0
chai-machine-startA chai maker machine that gives 3 chai options to the consumers, where the only option of buying is through 4 types of coins: 1rs, 2rs, 5rs and 10rs coins are eligible to be used.
The money is refunded back to the consumer if the paid price is less than the actual price of the tea, whereas if the paid price is higher, the required change is returned to the user.
Also, the two secret words: 'report' and 'off' can be used to generate a report of available resources, money collected and to turn off the chai machine, respectively.
0
0
0
higher-lower-startA higher lower cricket game, where the user have to guess whether the international runs of player A is higher or lower than that of player B, and score is incremented with each correct guess.
The game ends with an incorrect guess from the user, showing his/ her final score. This game is iterable i.e. can be played over and over again with user's demand.
The game data consists of male and female player's name, international runs, international wickets, age, country.
There are total 50 men players and 40 women players (5 from each country).
The data is extracted from web using chatgpt.
Kindly suggest any useful changes.
Thank you,
Shashank Sharma.
3
0
0
guess-the-number-startThe higher-lower game wants the user to guess a particular number between the range of 1 - 100, having a fixed number of attempts, based on the chosen level by the user.
Easy level has 10 attempts, Hard level has 5 attempts, the level is easy by default.
This was a relatively easy project compared to the previous projects in #100DaysOfPython course of Angela Yu.
Kindly spare thoughts for any modifications.
Thanks,
Shashank Sharma.
0
0
0
blackjack-startblack jack game, made with so much difficulties and errors, which could've been avoided by the precise use of functions and flags.
Anyways, this code also includes functions, while loops and a flag, so that a player can repeatedly play the game until he / she lilkes.
Kindly mention any corrections/ improvements to this code, if possible.
Thanks.
0
0
0
calculator-startA simple calculator that takes input two numbers and prints out the result, where the result can be passed again, or a new calculation can be initiated.
This calculator can be terminate on user's demand, unlike the calculator showed by Angela Yu in the day 10 project of #100DaysOfPython.
It also includes a NOT DEFINED condition when user tries to divide a number by zero, while the default calculation reverts to user entering a pair of new numbers for further calculation.
0
0
1
blind-auction-startblind auciton that takes input the bidder's name and bid, and outputs the name and bid of the highest bidder.
#100DaysOfPython
1
1
0
caesar-cipher-2-startWant to join the course? Start your journey here:
https://100daysofpython.dev/
0
0
0
rock-paper-scissors-startWant to join the course? Start your journey here:
https://100daysofpython.dev/
0
0