Пример #1
0
from selenium import webdriver
from selenium.webdriver.common import keys

driver = webdriver.chrome("")
driver.get("ci.linuxjobber.com")

drop = driver.find_element_by_xpath("")
drop.click()

# click on work experience
# click on the only 399 dollars
#ci.linuxjobber.com/homes/pay/workexperience
import turtle

turtle.foward(5)
SyntaxError: multiple statements found while compiling a single statement
>>> import turtle as t
t.shape('turtle')

SyntaxError: multiple statements found while compiling a single statement
>>> import turtle as t
t.shape('turtle')

SyntaxError: multiple statements found while compiling a single statement
>>> import turtle as t
t.shape('turtle')
SyntaxError: multiple statements found while compiling a single statement
>>> import turtle as t
>>> t.shape('turtle')
>>> t.foward(100)
Traceback (most recent call last):
  File "<pyshell#10>", line 1, in <module>
    t.foward(100)
AttributeError: module 'turtle' has no attribute 'foward'
>>> t.forward(100)
>>> t.right(90)
>>> t.forward(100)
>>> t.left(90)
>>> 
>>> 
>>> for i in range(4):
	t.forward(100)
	t.right(90)

	
Пример #3
0
import turtle
import time

turtle.forward(150)
turtle.right(250)
turtle.foward(150)

# takes a indicated moment of pause .sleep()
time.sleep(4)

# graphics window will stay there until it is closed by user
turtle.done()
Пример #4
0
#creating turtle screen
screen = turtle.Screen()
screen.title('ITT440 PROJECT-SNAKE GAME FROM SERVER')
screen.setup(width=700, height=700)
screen.tracer(0)
turtle.bgcolor('turquoise')

##Creating a border for our game
turtle.speed(5)
turtle.pensize(4)
turtle.penup()
turtle.goto(-310, 250)
turtle.pendown()
turtle.color('black')
turtle.foward(600)
turtle.right(90)
turtle.foward(500)
turtle.right(90)
turtle.foward(600)
turtle.right(90)
turtle.foward(500)
turtle.penup()
turtle.hideturtle()

#score
score = 0
delay = 0.1

#SNAKE
snake = turtle.Turtle()
Пример #5
0
def main():
    import turtle
    turtle.shape("turtle")
    turtle.foward(25)
    t
#This program graph's creates a diamond patterned object
#27 March 2020
#CTI-110 P2HW2 - Turtle Graphic
#Devorick Johnson

import turtle
>>>turtle.hideturtle()
>>>turtle.fillcolor('black')
>>>turtle.begin_fill()
>>>turtle.left(180)
>>>turtle.right(45)
>>>turtle.foward(100)
>>>turtle.right(90)
>>>turtle.forward(100)
>>>turtle.right(90)
>>>turtle.forward(200)
>>>turtle.left(90)
>>>turtle.forward(100)
>>>turtle.left(90)
>>>turtle.forward(100)
>>>turtle.left(90)
>>>turtle.forward(200)
>>>turtle.end_fill()

        
Пример #7
0
def main ():
    import turtle
    turtle.shape("turtle")
    turtle.foward(25)
    t
Пример #8
0
import turtle

for i in range(18):
    turtle.foward(100)
    turtle.right(100)

    turtle.done()
Пример #9
0
# Creating a turtle graphic
print ('06/23/2020')
print ('CTI-110 P@HW2- Turtle Graphic')
print ('Eric Hudson')
#
#
>>> import turtle
>>> turtle.showturtle()
>>> turtle.circle(25)
>>> turtle.left(90)
>>> turtle.forward(100)
>>> turtle.left(180)
>>> turtle.forward(50)
>>> turtle.forward(25)
>>> turtle.right(90)
>>> turtle.forward(50)
>>> turtle.forward(10)
>>> turtle.forward(10)
>>> turtle.right(180)
>>> turtle.forward(150)
>>> turtle.left(180)
>>> turtle.foward(70)
>>> turtle.forward(70)
>>> turtle.forward(10)
>>> turtle.left(90)
>>> turtle.forward(100)
>>> turtle.left(180)
>>> turtle.forward