Python

Rock Paper Scissors and Tic Tac Toe Game Using Python

Submitted by coderz on
This source code contains Rock Paper Scissors and Tic Tac Toe game programed using Python. The program is very simple to play. Just open the code using command line and type game.py and hit enter. The main menu has two options. 1 is for Rock Paper Scissors game and 2 is for Tic Tac Toe game. There are three numbers that you need to use in order to play Rock Paper Scissors. They are: Rock = 0 Paper

How to Calculate Salary of Employee with Taxable Amount in Python

Submitted by admin on
This is a simple program to calculate salary of employee with taxable amount in Python. The program requires the name of the employee, name of the company, salary of the employee. It will then calculate based on 20% tax rate. If the employee’s salary falls below 10,000, then the employee is not taxed.