February 2023 2 2 Report
Dany jest kod w Pythonie. Jaka figura będzie narysowana?
Kod:
import turtle
import math
t = turtle.Turtle()
t.begin_fill()
t.color('#1010ff')
t.forward(100)
t.left(90)
t.forward(100)
t.left(135)
t.forward(math.sqrt(20000))
t.end_fill()
turtle.done()

Dostępne odpowiedzi:
a. czerwone koło
b. niebieski kwadrat
c. zielony prostokąt
d. niebieski trójkąt

Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.