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
▼
Program for Maximum height when coins are arranged in a triangle
›
def squareRoot(n): x = n y = 1 e = 0.000001 while (x - y > e): x = (x + y) / 2 y = n/x return x def findMaximumHeight(N)...
Program for Product of unique prime factors of a number
›
import math def productPrimeFactors(n): product = 1 if (n % 2 == 0): product *= 2 while (n%2 == 0): n = n/2 for i in range (...
Program in numpy percentile
›
import numpy as np arr = [[14, 17, 12, 33, 44], [15, 6, 27, 8, 19], [23, 2, 54, 1, 4,]] print("\narr : \n", arr) print("\...
Turtle 3D cubes
›
import turtle screen=turtle.Screen() screen.setup(800,800) trtl = turtle.Turtle() screen.title("3-D CUBES") trtl.penup() trtl...
Check if an URL is valid or not using Regular Expression
›
import re def isValidURL(str): regex = ("((http|https)://)(www.)?" + "[a-zA-Z0-9@:%._\\+~#?&//=]" + "...
‹
›
Home
View web version