On 27/11/17 20:47, Howard Lawrence wrote:
> import turtle
> # this part draws a square
> def square():
>
> my_turtle = turtle.Turtle()
Note that this creates my_turtle as a local
variable inside the function. It will not
be visible outside the function.
> my_turtle.forward(100)
> my_
many thanks, Peter
I could install the newest version of python 3.6 without
any problems but I need python 2.7 for tutorial purposes.
Marcus.
-Ursprüngliche Nachricht-
Von: peter [mailto:peterrisle...@gmail.com]
Gesendet: Montag, 27. November 2017 20:20
An: marcus lütolf
Betreff: Re:
I have not found a way into my tape library from the manufacture IBM, there's
no command-line or api I am aware of nor is google. I need to get what this
library thinks is its tape volumes inventory. I have used chrome to view the
code and its using adobe's SSI files which then calls a jscript.
import turtle
# this part draws a square
def square():
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
square()
my_turtle.forward(100)
On 27/11/17 01:57, John Cocks wrote:
> The task is broken down into three sections.
What exactly do you want help with?
Do you not understand part of the problem?
Do you not know how to code some part?
Are you getting an error? If so show us the full error text.
WE are not mind readers, you need
The task is broken down into three sections.
Section 1 - User Input
Section 2 - loop through the grocery list
Section 3 - provide output to the console
'''
#Task: Create the empty data structure
grocery_item = {}
grocery_history = []
#Variable used to check if the while loop condition is met
sto