Python for Engineers
Solve Problems by Coding Solutions - A Complete solution for python programming
Blog Pages
(Move to ...)
Code
Top 10 Blogs
NumPy Tutorials
Distributions
Self Learning
IDE
About
▼
Tic-Tac-Toe game in Python
›
from tkinter import * import numpy as np size_of_board = 600 symbol_size = (size_of_board / 3 - size_of_board / 8) / 2 symbol_thickness = 30...
Program for time Comparsion difference between Python Lists and Numpy Arrays
›
Creation time for adding two python list is the order of 500 compared to the adding two numpy array. Time metric in seconds Creation time...
Python program to find distance measure - Hamming ,Euclidean , Manhattan, Minkowski
›
# Calculating distance between bit strings # Hamming Distance def hamming_distance(a, b): return sum(abs(e1 - e2) for e1, e2 in zip(a, b))...
Counter using Tkinter GUI in Python
›
import tkinter as tk counter = 0 def counter_label(label): def count(): global counter counter += 1 label.config(text=str(co...
Generate random numbers with normal distribution
›
1.Generate normal distribution data of Size 2 × 3 from numpy import random x = random.normal(size=( 2 , 3 )) 2. Generate norm...
‹
›
Home
View web version