Skip to main content

Featured

Tic Tac Toe

Tic Tac Toe Tic Tac Toe is a simple, two-player strategy game played on a 3x3 grid. Players take turns marking a square with either an "X" or an "O", with the goal of being the first to align three of their marks in a row, column, or diagonal.  I have made a simple Tic Tac Toe game using html, css, javascript.  The game doesnot have much features. The game is created to be played by two peoples. It is just a simple game. The code of this game you get in my github page   Link of this game code is below: Tic Tac Toe Game Code /

Python program to calculate simple interest

Program to calculate Simple Interest


print("Program to calculate simple interest\n\n")
try:
    P = int(input("Enter principal: "))
    T = int(input("Enter time in year: "))
    R = int(input("Enter rate of interest: "))

    SI = (P*T*R)/100
    print(f"\n\nSimple Interest is {SI}")

except Exception as e:
    print(e)

Comments

Popular Posts