Python Question / Quiz;
What is the output of the following Python code, and why? π€π Comment your answers below! π
What is the output of the following Python code, and why? π€π Comment your answers below! π
#python #programming #developer #programmer #coding #coder #softwaredeveloper #computerscience #webdev #webdeveloper #webdevelopment #pythonprogramming
https://t.iss.one/DataScienceQ
π2
This media is not supported in your browser
VIEW IN TELEGRAM
π Hydrate Smarter & Get $10 Back! π§
Looking for the ultimate way to boost your hydration? Our Hydrogen Water Bottle transforms regular water into hydrogen-rich, antioxidant-packed refreshment! β¨
βοΈ Elevate your wellness with every sip
βοΈ Experience the benefits of hydrogen-rich hydration
βοΈ Stay energized & refreshed all day long
π° Special Offer: Leave a review after your purchase & get $10 back on this order!
Ready to upgrade your hydration game?
Get yours now!
Supported by WaybienAds
Looking for the ultimate way to boost your hydration? Our Hydrogen Water Bottle transforms regular water into hydrogen-rich, antioxidant-packed refreshment! β¨
βοΈ Elevate your wellness with every sip
βοΈ Experience the benefits of hydrogen-rich hydration
βοΈ Stay energized & refreshed all day long
π° Special Offer: Leave a review after your purchase & get $10 back on this order!
Ready to upgrade your hydration game?
Get yours now!
Supported by WaybienAds
π2
Python Logo Source Code
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor("black")
t.speed(10)
t.pensize(2)
t.pencolor("white")
def s_curve():
for i in range(90):
t.left(1)
t.forward(1)
def r_curve():
for i in range(90):
t.right(1)
t.forward(1)
def l_curve():
s_curve()
t.forward(80)
s_curve()
def l_curve1():
s_curve()
t.forward(90)
s_curve()
def half():
t.forward(50)
s_curve()
t.forward(90)
l_curve()
t.forward(40)
t.left(90)
t.forward(80)
t.right(90)
t.forward(10)
t.right(90)
t.forward(120) #on test
l_curve1()
t.forward(30)
t.left(90)
t.forward(50)
r_curve()
t.forward(40)
t.end_fill()
def get_pos():
t.penup()
t.forward(20)
t.right(90)
t.forward(10)
t.right(90)
t.pendown()
def eye():
t.penup()
t.right(90)
t.forward(160)
t.left(90)
t.forward(70)
t.pencolor("black")
t.dot(35)
def sec_dot():
t.left(90)
t.penup()
t.forward(310)
t.left(90)
t.forward(120)
t.pendown()
t.dot(35)
t.fillcolor("#306998")
t.begin_fill()
half()
t.end_fill()
get_pos()
t.fillcolor("#FFD43B")
t.begin_fill()
half()
t.end_fill()
eye()
sec_dot()
def pause():
t.speed(2)
for i in range(100):
t.left(90)
pause()
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor("black")
t.speed(10)
t.pensize(2)
t.pencolor("white")
def s_curve():
for i in range(90):
t.left(1)
t.forward(1)
def r_curve():
for i in range(90):
t.right(1)
t.forward(1)
def l_curve():
s_curve()
t.forward(80)
s_curve()
def l_curve1():
s_curve()
t.forward(90)
s_curve()
def half():
t.forward(50)
s_curve()
t.forward(90)
l_curve()
t.forward(40)
t.left(90)
t.forward(80)
t.right(90)
t.forward(10)
t.right(90)
t.forward(120) #on test
l_curve1()
t.forward(30)
t.left(90)
t.forward(50)
r_curve()
t.forward(40)
t.end_fill()
def get_pos():
t.penup()
t.forward(20)
t.right(90)
t.forward(10)
t.right(90)
t.pendown()
def eye():
t.penup()
t.right(90)
t.forward(160)
t.left(90)
t.forward(70)
t.pencolor("black")
t.dot(35)
def sec_dot():
t.left(90)
t.penup()
t.forward(310)
t.left(90)
t.forward(120)
t.pendown()
t.dot(35)
t.fillcolor("#306998")
t.begin_fill()
half()
t.end_fill()
get_pos()
t.fillcolor("#FFD43B")
t.begin_fill()
half()
t.end_fill()
eye()
sec_dot()
def pause():
t.speed(2)
for i in range(100):
t.left(90)
pause()
π4β€1
Forwarded from Machine Learning with Python
ππΈ 500$ FOR THE FIRST 500 WHO JOIN THE CHANNEL! ππΈ
Join our channel today for free! Tomorrow it will cost 500$!
https://t.iss.one/+vhF2zNz5GBw3NTU1
You can join at this link! ππ
https://t.iss.one/+vhF2zNz5GBw3NTU1
Join our channel today for free! Tomorrow it will cost 500$!
https://t.iss.one/+vhF2zNz5GBw3NTU1
You can join at this link! ππ
https://t.iss.one/+vhF2zNz5GBw3NTU1
π4
Forwarded from Machine Learning with Python
Explore the world of Data Science through Jupyter Notebooksβinsights, tutorials, and tools to boost your data journey. Code, analyze, and visualize smarter with every post.
https://t.iss.one/DataScienceN
https://t.iss.one/DataScienceN
Telegram
Data Science Jupyter Notebooks
Explore the world of Data Science through Jupyter Notebooksβinsights, tutorials, and tools to boost your data journey. Code, analyze, and visualize smarter with every post.
π3π₯1
The latest and the most up-to-date cyber news will be presented on PPHM HACKER NEWS.
PPHM subscribers are the first people that receive firsthand cybernews and Tech news.
You won't miss any cyber news with us.
https://t.iss.one/pphm_HackerNews
PPHM subscribers are the first people that receive firsthand cybernews and Tech news.
You won't miss any cyber news with us.
https://t.iss.one/pphm_HackerNews
Telegram
PPHM HACKER NEWS
PPHM Hacker News is a reliable news outlet that brings you the latest and most credential cyber news.
Website:
https://pphmnews.com/
Website:
https://pphmnews.com/
PyData Careers pinned Β«The latest and the most up-to-date cyber news will be presented on PPHM HACKER NEWS. PPHM subscribers are the first people that receive firsthand cybernews and Tech news. You won't miss any cyber news with us. https://t.iss.one/pphm_HackerNewsΒ»