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
▼
Side look emoji using turtle
›
import turtle my_pen = turtle.Turtle() my_pen.color("#ffdd00") my_pen.begin_fill() my_pen.circle(100) my_pen.fillcolor("#ffdd...
Legendre's Conjecture program
›
import math def isprime( n ): i = 2 for i in range (2, int((math.sqrt(n)+1))): if n%i == 0: return False return True def Legend...
A clock dial using turtle
›
import turtle screen=turtle.Screen() trtl=turtle.Turtle() screen.setup(620,620) screen.bgcolor('black') clr=['red','gree...
Printing anagrams together using List and Dictionary
›
def allAnagram(input): dict = {} for strVal in input: key = ''.join(sorted(strVal)) if key in dict.keys(): dict[key].a...
Program for Reversal algorithm for array rotation
›
def rverseArray(arr, start, end): while (start < end): temp = arr[start] arr[start] = arr[end] arr[end] = temp start += 1 ...
‹
›
Home
View web version