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
▼
Draw Spider web using Python Turtle
›
import turtle as t t.speed(2) for i in range(6): t.forward(150) t.backward(150) t.right(60) side = 50 t.fillcolor("Orange...
Program for Extended Euclidean algorithms
›
def gcdExtended(a, b): if a == 0 : return b,0,1 gcd,x1,y1 = gcdExtended(b%a, a) x = y1 - (b//a) * x1 y = x1 return gcd,x,y a,...
Spotify logo using python turtle
›
import turtle as t t.Screen().bgcolor("Black") t.speed(15) t.begin_fill() t.fillcolor('#1DB954') t.pencolor("#1DB954...
FB logo using turtle
›
from turtle import * speed(10) color("#0270d6") Screen().bgcolor('black') penup() goto(0, 150) pendown() begin_fill() forw...
Check if the characters in a string form a Palindrome in O(1) extra space
›
def firstPos(str, start, end): firstChar = -1 for i in range(start, end + 1): if (str[i] >= 'a' and str[i] <= 'z...
‹
›
Home
View web version