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
▼
Simple GUI calculator using Tkinter
›
from tkinter import * expression = "" def press(num): global expression expression = expression + str(num) equation.set(expr...
program to rotate doubly linked list by N nodes
›
class Node: def __init__(self,data): self.data = data; self.previous = None; self.next = None; ...
Program to display Zodiac sign for given date of birth
›
def zodiac_sign(day, month): if month == 'december': astro_sign = 'Sagittarius' if (day < 22) else 'capricorn...
Color game using Tkinter
›
import tkinter import random colours = ['Red','Blue','Green','Pink','Black', 'Yellow',...
Write a python code to print this pattern.
›
def pattern(n): num = 65 for i in range(0,n): for j in range(0,i+1): ch = chr(num) print(ch,end = " ") num = ...
‹
›
Home
View web version