About 129,000 results
Open links in new tab
  1. How to move shape python - Stack Overflow

    Apr 22, 2014 · I am trying to move an octagon on python What am I missing? How do I make this shape move. bif="space.jpg" import pygame, sys from pygame.locals import * points=[(-60 ...

  2. Creating shapes or letters using Python - Stack Overflow

    Mar 29, 2014 · So I'm trying to create the letter H out of asterisks using Python, but I can't seem to figure out on how to create a vertical line to go across in order to create the letter H using the …

  3. Creating shapes using For Loop Coding in Python

    Jun 18, 2016 · Hey guys I am having a difficult time writing a code to create a triangle of asterisks and having a reflection of the triangle appear on the same line. The end product is two …

  4. Creating shapes with while loop Python - Stack Overflow

    Jun 8, 2013 · What I am trying to do is use a while loop to create a square out of asterixs, the code below will print the square filled in, but what I want it to do is print the square unfilled …

  5. How to draw shapes in python? - Stack Overflow

    Mar 28, 2017 · From what i understood you are asking the user to input the shape and amount of rows. When this program prompts the user to input rows he should type 10 for any shapes …

  6. How to write simple geometric shapes into numpy arrays

    Apr 5, 2012 · I would like to generate a numpy array of 200x200 elements in size and put into it a circle centered into 100,100 coordinates, radius 80 and stroke width of 3 pixels. How to do this …

  7. Drawing multiple shapes at a time from a list of options (Python …

    user picks 3 shapes from a list of 6; user chooses size, fill color, and line color; user cannot pick the same shape twice; shapes should be drawn evenly spaced, taking up 1/3 of the screen …

  8. How can I make rectangle shape in turtle, python?

    Feb 11, 2015 · I am trying to make game . work like angry birds, so I want to make two rectangle on both side (300,0),(-300,0) and then create two ball to shot so when one player input angle …

  9. Irregular shape detection and measurement in python opencv

    At this point it seems like I have a choice to make. I could either binarise the image, and measure blobs above a threshold (i.e. max value pixels if the blobs are white), or continue with the edge …

  10. Printing a shape from numbers in python - Stack Overflow

    Nov 7, 2018 · I'm trying to create a function called shape with loops that prints a shape of n rows and n*2 columns. For example: shape(5) prints the following: I have tried to do many things …