yoga1103 / python-scripts

Some python scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v3.0


Languages

Language:Python 100.0%