Hi! I'm writing a program that will take a an inputed phrase, assigns each letter to a picture of the letter from a file, and outputs the given phrase, looking like a ransom note.
I have a start, but I'm not really sure where to go next. I've only just learned the language, so take it easy on me. :)
from graphics import * def main(): win = GraphWin("Ransom Note", 500, 500) phrase = input("Enter your note: ") phrase.lower() w = str(phrase[int(q)]) #for the name of each picture file space = 4 for i in letter(): letter[int(q)+0] = Image(Point(x,y), w.gif) #q is the placement of the letter in the string letter = Image(Point(x + (phrase.getWidth()/2) + space + (phrase/2)), q.gif) main()