Skip to content

yoga1103/python-scripts

Repository files navigation

python-scripts

Some python scripts

mydice1.py: a simple dice program that gives a random number between 1 and 6 mydice2.py: rolls the dice 6 times using a for loop mydice3.py: takes input from the user. If user types r/R it'll roll the dice, if the user types q/Q the game ends, any other input will keep repeating the loop. While True loop used. snakesandladders.py: a snakes and ladders game based on the dice game program. A dictionary is used to store the starting places and ending places of the snakes and the ladders. Try modifying the game to a different board. rockpaperscissorsa.py: A game of rock/paper/scissors. If you like this game, you could modify it to make it : rock-paper-scissors-spock-lizzard (RPSSL)

page_scraper.py: Uses beautifulsoup to scrape desired data from a webpage. Simple data scraper, because human eyes and hands are prone to errors. Automize the scraping, reduce errors.

About

Some python scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages