<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Merry &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/merry/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Sun, 05 Feb 2023 15:32:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>Merry &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Download the beautiful Merry Christmas wallpaper set for the Christmas season</title>
		<link>https://en.anonyviet.com/download-the-beautiful-merry-christmas-wallpaper-set-for-the-christmas-season/</link>
					<comments>https://en.anonyviet.com/download-the-beautiful-merry-christmas-wallpaper-set-for-the-christmas-season/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Sun, 05 Feb 2023 15:32:07 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[beautiful]]></category>
		<category><![CDATA[Christmas]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Merry]]></category>
		<category><![CDATA[season]]></category>
		<category><![CDATA[set]]></category>
		<category><![CDATA[wallpaper]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=9728</guid>

					<description><![CDATA[Christmas Day, also known as Noel, Christmas is an event to celebrate the birth of Jesus. Held every year on the last days of the year (December 24 and 25) according to the Jewish calendar. Considered a major holiday of the West, since it was introduced to Vietnam. It has become a popular holiday among [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p style="text-align: justify;">Christmas Day, also known as Noel, Christmas is an event to celebrate the birth of Jesus.  Held every year on the last days of the year (December 24 and 25) according to the Jewish calendar.  Considered a major holiday of the West, since it was introduced to Vietnam.  It has become a popular holiday among young people.  And better known for images of Christmas cards, socks, candy canes and especially Santa Claus with gift bags.</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> belong to <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><img post-id="9728" fifu-featured="1" fetchpriority="high" decoding="async" width="820" height="478" class="alignnone wp-image-12998 size-full" src="https://anonyviet.com/wp-content/uploads/2018/12/hinh-noel-dep-820x478.jpg" alt="Download the beautiful Merry Christmas wallpaper set for the Christmas season" title="Download the beautiful Merry Christmas wallpaper set for the Christmas season" srcset="https://anonyviet.com/wp-content/uploads/2018/12/hinh-noel-dep-820x478.jpg 820w, https://anonyviet.com/wp-content/uploads/2018/12/hinh-noel-dep-820x478-300x175.jpg 300w, https://anonyviet.com/wp-content/uploads/2018/12/hinh-noel-dep-820x478-768x448.jpg 768w, https://anonyviet.com/wp-content/uploads/2018/12/hinh-noel-dep-820x478-750x437.jpg 750w" sizes="(max-width: 820px) 100vw, 820px" title="Download the very beautiful Merry Christmas wallpaper set for the Christmas season 8"/></p>
<p>Today, <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com" rel="noopener" class="local-link">AnonyViet</a> will send you a collection of 55 Merry Christmas wallpapers.  With super cute content for this Christmas season.  You can use them for decoration activities, banner design, etc. in this event!</p>
<h2 id="ftoc-tai-bo-hinh-nen-merry-christmas-cuc-dep-cho-mua-noel" class="ftwp-heading">Download the beautiful Merry Christmas wallpaper set for the Christmas season</h2>
<p><a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fphotos.app.goo.gl%2Fv82YTCdeu8tZdjSN7" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Merry Christmas – Noel wallpaper album </a>I uploaded it to Google Photo so you can easily view it online and download it.  If you have any problems, please comment below.</p>
<p><strong>Note:</strong> Please download the compressed file containing the set of images at the link at the end of the article to receive the best quality images.</p>
<p><img decoding="async" loading="lazy" width="653" height="223" class="aligncenter wp-image-12997 size-full" src="https://anonyviet.com/wp-content/uploads/2018/12/listcm.png" alt="Christmas list" srcset="https://anonyviet.com/wp-content/uploads/2018/12/listcm.png 653w, https://anonyviet.com/wp-content/uploads/2018/12/listcm-300x102.png 300w" sizes="auto, (max-width: 653px) 100vw, 653px" title="Download the very beautiful Merry Christmas wallpaper set for the Christmas season 9"/></p>
<p>Christmas Day also carries the message of peace, is a magical night where children&#8217;s wishes come true.  You can use the Merry Christmas wallpaper set to create an online Christmas card, as a background image.. and give it to your friends.  This Christmas wallpaper set has many themes, so it&#8217;s easy for you to choose to design.</p>
<p><img decoding="async" src="https://lh3.googleusercontent.com/npSG1-_jHndAxsxVGfyaFPCoUroavmnoDOF720ZRaMVZie8qlISd-W4SHsu-17aTWMovJy3FAEuz5_HUSNL5i_LNAH_OBaYtsEH5YA_kcNcU7rL67knWcrflxfgI8LNoRZC7kODhOQzysOoq1s7SPcctTQ4kAlCJCTuUcN0oIiTVH4IvddJ-JVAdD81tL8RFiQASYkDPI0afo9_6iuXiUrlxU0vj8ms-ptnTQ7mRHpt6w_TGCgzCMvER1dXUL9w4PUyljtHfHfAkUV8IKXMng8X6KHaH4O2Caqw4FbWd71kEiojN3UGG1XmkN3d11jTLFxrQ5AK1gDK3fnxKQaZERtEUnfdeYeIuhz6RSXMGwW1xoEPey_4jT1vQS4_BKBoFqGrIm-75WPAFNNSYXf7y2hslazi55Dqb4eNgGAwJT1CxxJRlOp514Xse_fiRauvseSXIUN25N6WpRp2ZXINV3_NsFFNAjAdSMQWEIT6llxrawLntLQNNP2JV1H4E7Of21NWDXZslz5CAmdoiTNAQLQ_zMF7tKm0Se_j3wDXotIBPjP6nd1rWw2gw8sLi2eWzwHQG62SfDbP9ZAriNeSc0vucVH6DqFf8A6ViO-tJhHqhg2LL8xXGI22VkYjjJfpdXLDO0UZb66IoHiiEgSDOOXsv=w820-h461-no-tmp.jpg" alt="Download the very beautiful Merry Christmas wallpapers for the Christmas season 4" title="Download the very beautiful Merry Christmas wallpaper set for the 10th Christmas season"/></p>
<h2 id="ftoc-loi-ket" class="ftwp-heading">Epilogue</h2>
<p>Probably everyone knows the meaning of the Christian holiday of Christmas.  Christmas is also a family holiday, this is an opportunity for members to gather together.  So that everyone can send love to each other.  You can play <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fgame-noel-2019-cua-google%2F" rel="noopener" class="local-link">Google Christmas Game 2019</a>.  Or create beautiful cards from Christmas wallpapers to give to your loved ones.</p>
<p style="text-align: center;"><strong>“Happy Christmas to all, and to all a good night”</strong></p>
<p style="text-align: right;"><span style="color: #0000ff;">N1412.</span></p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;12907&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/download-the-beautiful-merry-christmas-wallpaper-set-for-the-christmas-season/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2018/12/hinh-noel-dep-820x478.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>Code Christmas tree in Python &#8211; Merry Christmas Python</title>
		<link>https://en.anonyviet.com/code-christmas-tree-in-python-merry-christmas-python/</link>
					<comments>https://en.anonyviet.com/code-christmas-tree-in-python-merry-christmas-python/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Sun, 01 Jan 2023 14:55:34 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Christmas]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Merry]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[tree]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=229</guid>

					<description><![CDATA[A Merry Christmas is coming, as a Coder you can design your own Noel in Python to increase your friends or relatives. If you don&#8217;t have time, you can use the Codes collected below. Each Code Python Noel has its own design but all have the common feature of having a Christmas tree with falling [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div id="ftwp-postcontent">
<p><strong>A Merry Christmas is coming, as a Coder you can design your own Noel in Python to increase your friends or relatives.  If you don&#8217;t have time, you can use the Codes collected below.  Each Code Python Noel has its own design but all have the common feature of having a Christmas tree with falling snow.</strong></p>
<p>The Christmas tree code in Python will use the Turtle library to draw, so you need to import Turtle.</p>
<p>If you still don&#8217;t know how to use Python, read on <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2F%3Fs%3Dpython" class="local-link" rel="noopener">Series of articles about Python</a> on AnonyViet for background knowledge.  Then you can easily execute the Merry Christmas python Code below:</p>
<h2 id="ftoc-ve-cay-thong-noel-voi-vong-lap-for" class="ftwp-heading">Draw a Christmas tree with a For . loop</h2>
<p>With basic Python knowledge, you can draw a Christmas tree with an extremely simple For loop.  Here is the Full Code:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic"># Function to draw a Christmas tree with a given height&#13;
def draw_tree(height):&#13;
  # Loop through each row of the tree&#13;
  for i in range(1, height + 1):&#13;
    # Print the spaces before the asterisks on each row&#13;
    for j in range(height - i):&#13;
      print(" ", end="")&#13;
    # Print the asterisks on each row&#13;
    for j in range(2 * i - 1):&#13;
      print("*", end="")&#13;
    # Move to the next line&#13;
    print()&#13;
# Call the function to draw a tree with a height of 5&#13;
draw_tree(5)</pre>
<p>On the last line: <code>draw_tree(5)</code>change the number 5 to another number to change the height of the Christmas tree in Python.</p>
<p>Here&#8217;s the result:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">    *&#13;
   ***&#13;
  *****&#13;
 *******&#13;
*********&#13;
</pre>
<h2 id="ftoc-code-python-cay-thong-noel-voi-bau-troi-day-sao" class="ftwp-heading">Code python Christmas tree with starry sky</h2>
<p><img post-id="229" fifu-featured="1" decoding="async" class="aligncenter size-full wp-image-44518" src="https://anonyviet.com/wp-content/uploads/2022/12/code-cay-thong-noel-python.png" alt="Code Christmas tree in Python &#8211; Merry Christmas Python" title="Code Christmas tree in Python &#8211; Merry Christmas Python" width="607" height="309" srcset="https://anonyviet.com/wp-content/uploads/2022/12/code-cay-thong-noel-python.png 607w, https://anonyviet.com/wp-content/uploads/2022/12/code-cay-thong-noel-python-300x153.png 300w" sizes="(max-width: 607px) 100vw, 607px" title="Code Christmas tree in Python - Merry Christmas Python 8"/></p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">from turtle import *&#13;
from random import randint&#13;
&#13;
&#13;
def create_rectangle(turtle, color, x, y, width, height):&#13;
    turtle.penup()&#13;
    turtle.color(color)&#13;
    turtle.fillcolor(color)&#13;
    turtle.goto(x, y)&#13;
    turtle.pendown()&#13;
    turtle.begin_fill()&#13;
&#13;
    turtle.forward(width)&#13;
    turtle.left(90)&#13;
    turtle.forward(height)&#13;
    turtle.left(90)&#13;
    turtle.forward(width)&#13;
    turtle.left(90)&#13;
    turtle.forward(height)&#13;
    turtle.left(90)&#13;
&#13;
    # fill the above shape&#13;
    turtle.end_fill()&#13;
    # Reset the orientation of the turtle&#13;
    turtle.setheading(0)&#13;
&#13;
&#13;
def create_circle(turtle, x, y, radius, color):&#13;
    oogway.penup()&#13;
    oogway.color(color)&#13;
    oogway.fillcolor(color)&#13;
    oogway.goto(x, y)&#13;
    oogway.pendown()&#13;
    oogway.begin_fill()&#13;
    oogway.circle(radius)&#13;
    oogway.end_fill()&#13;
&#13;
&#13;
BG_COLOR = "#0080ff"&#13;
&#13;
oogway = Turtle()&#13;
# set turtle speed&#13;
oogway.speed(2)&#13;
screen = oogway.getscreen()&#13;
# set background color&#13;
screen.bgcolor(BG_COLOR)&#13;
# set tile of screen&#13;
screen.title("Merry Christmas")&#13;
# maximize the screen&#13;
screen.setup(width=1.0, height=1.0)&#13;
&#13;
y = -100&#13;
# create tree trunk&#13;
create_rectangle(oogway, "red", -15, y-60, 30, 60)&#13;
&#13;
# create tree&#13;
width = 240&#13;
oogway.speed(10)&#13;
while width &gt; 10:&#13;
    width = width - 10&#13;
    height = 10&#13;
    x = 0 - width/2&#13;
    create_rectangle(oogway, "green", x, y, width, height)&#13;
    y = y + height&#13;
&#13;
# create a star a top of tree&#13;
oogway.speed(1)&#13;
oogway.penup()&#13;
oogway.color('yellow')&#13;
oogway.goto(-20, y+10)&#13;
oogway.begin_fill()&#13;
oogway.pendown()&#13;
for i in range(5):&#13;
    oogway.forward(40)&#13;
    oogway.right(144)&#13;
oogway.end_fill()&#13;
&#13;
tree_height = y + 40&#13;
&#13;
# create moon in sky&#13;
# create a full circle&#13;
create_circle(oogway, 230, 180, 60, "white")&#13;
# overlap with full circle of BG color to make a crescent shape&#13;
create_circle(oogway, 220, 180, 60, BG_COLOR)&#13;
&#13;
# now add few stars in sky&#13;
oogway.speed(10)&#13;
number_of_stars = randint(20,30)&#13;
# print(number_of_stars)&#13;
for _ in range(0,number_of_stars):&#13;
    x_star = randint(-(screen.window_width()//2),screen.window_width()//2)&#13;
    y_star = randint(tree_height, screen.window_height()//2)&#13;
    size = randint(5,20)&#13;
    oogway.penup()&#13;
    oogway.color('white')&#13;
    oogway.goto(x_star, y_star)&#13;
    oogway.begin_fill()&#13;
    oogway.pendown()&#13;
    for i in range(5):&#13;
        oogway.forward(size)&#13;
        oogway.right(144)&#13;
    oogway.end_fill()&#13;
&#13;
# print greeting message&#13;
oogway.speed(1)&#13;
oogway.penup()&#13;
msg = "Merry Christmas em iuuuuuuuu"&#13;
oogway.goto(0, -200)  # y is in minus because tree trunk was below x axis&#13;
oogway.color("white")&#13;
oogway.pendown()&#13;
oogway.write(msg, move=False, align="center", font=("Arial", 15, "bold"))&#13;
&#13;
oogway.hideturtle()&#13;
screen.mainloop()</pre>
<h2 id="ftoc-thiep-giang-sinh-nguoi-tuyet-bang-python" class="ftwp-heading"> Snowman Christmas card in Python</h2>
<p>This code will draw a snowman and have snowfall with arbitrary text.  You can use the Python editor to rename your name however you like.  Let&#8217;s <strong>convert python to exe</strong> and send it to your crush, he will surely love you.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-44519" src="https://anonyviet.com/wp-content/uploads/2022/12/code-thiep-noel-python.png" alt="python christmas code" width="606" height="564" srcset="https://anonyviet.com/wp-content/uploads/2022/12/code-thiep-noel-python.png 606w, https://anonyviet.com/wp-content/uploads/2022/12/code-thiep-noel-python-300x279.png 300w" sizes="auto, (max-width: 606px) 100vw, 606px" title="Code Christmas tree in Python - Merry Christmas Python 9"/></p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">import turtle&#13;
import random&#13;
import time&#13;
&#13;
width = height = 500&#13;
&#13;
window = turtle.Screen()&#13;
window.setup(width, height)&#13;
window.bgcolor("sky blue")&#13;
window.title("Happy Holidays")&#13;
&#13;
snowball_rate = 1, 3&#13;
snowball_size = 5, 15&#13;
wind_change = 1, 5&#13;
max_wind = 3&#13;
&#13;
&#13;
# Create all circle-shaped objects&#13;
def make_circle(turtle_name, x, y, size, colour):&#13;
    turtle_name.color(colour)&#13;
    turtle_name.penup()&#13;
    turtle_name.setposition(x, y)&#13;
    turtle_name.dot(size)&#13;
&#13;
&#13;
# Create new snowballs and store in list&#13;
list_of_snowballs = []&#13;
&#13;
&#13;
def make_snowball():&#13;
    snowball = turtle.Turtle()&#13;
    snowball.color("white")&#13;
    snowball.penup()&#13;
    snowball.setposition(random.randint(-2 * width, width / 2), height / 2)&#13;
    snowball.hideturtle()&#13;
    snowball.size = random.randint(*snowball_size)&#13;
    list_of_snowballs.append(snowball)&#13;
&#13;
&#13;
def move_snowball(turtle_name, falling_speed=1, wind=0):&#13;
    turtle_name.clear()&#13;
    turtle_name.sety(turtle_name.ycor() - falling_speed)&#13;
    if wind:&#13;
        turtle_name.setx(turtle_name.xcor() + wind)&#13;
    turtle_name.dot(turtle_name.size)&#13;
&#13;
&#13;
# Snowman: body&#13;
snowman = turtle.Turtle()&#13;
x_position = 0&#13;
y_positions = 75, 0, -100&#13;
size = 75&#13;
for y in y_positions:&#13;
    make_circle(snowman, x_position, y, size, "white")&#13;
    size = size * 1.5&#13;
&#13;
# Snowman: buttons&#13;
button_seperation = 25&#13;
button_y_positions = [y_positions[1] - button_seperation,&#13;
                      y_positions[1],&#13;
                      y_positions[1] + button_seperation]&#13;
for y in button_y_positions:&#13;
    make_circle(snowman, x_position, y, 10, "black")&#13;
&#13;
# Snowman: eyes&#13;
y_offset = 10&#13;
x_seperation = 15&#13;
for x in x_position - x_seperation, x_position + x_seperation:&#13;
    make_circle(snowman, x, y_positions[0] + y_offset, 20, "green")&#13;
    make_circle(snowman, x, y_positions[0] + y_offset, 10, "black")&#13;
&#13;
# Snowman: nose&#13;
snowman.color("orange")&#13;
snowman.setposition(x_position - 10, y_positions[0] - y_offset)&#13;
snowman.shape("triangle")&#13;
snowman.setheading(200)&#13;
snowman.turtlesize(0.5, 2.5)&#13;
&#13;
window.tracer(0)&#13;
&#13;
# Ground&#13;
grass = turtle.Turtle()&#13;
grass.fillcolor("forest green")&#13;
grass.penup()&#13;
grass.setposition(-width / 2, -height / 2)&#13;
grass.begin_fill()&#13;
for _ in range(2):&#13;
    grass.forward(width)&#13;
    grass.left(90)&#13;
    grass.forward(70)&#13;
    grass.left(90)&#13;
grass.end_fill()&#13;
&#13;
ground = turtle.Turtle()&#13;
for x in range(int(-width / 2), int(width / 2), int(width / 200)):&#13;
    make_circle(ground, x, -180, random.randint(5, 20), "white")&#13;
&#13;
text = turtle.Turtle()&#13;
text.color("red")&#13;
text.penup()&#13;
text.setposition(-100, 170)&#13;
#chữ thứ 1&#13;
text.write("Happy Holidays", font=("Apple Chancery", 30, "bold"), align="center")&#13;
text.setposition(130, 140)&#13;
text.color("dark green")&#13;
#chữ thứ 3&#13;
text.write("AnonyViet", font=("Avenir", 30, "bold"), align="right")&#13;
text.color("black")&#13;
#chữ thứ 4&#13;
text.write(".com", font=("Avenir", 30, "normal"), align="left")&#13;
text.setx(50)&#13;
#chữ thứ 2&#13;
text.write("from", font=("Apple Chancery", 20, "bold"), align="right")&#13;
text.hideturtle()&#13;
&#13;
time_delay = 0&#13;
start_time = time.time()&#13;
wind = 0&#13;
wind_delay = 5&#13;
wind_timer = time.time()&#13;
wind_step = 0.1&#13;
while True:&#13;
    if time.time() - start_time &gt; time_delay:&#13;
        make_snowball()&#13;
        start_time = time.time()&#13;
        time_delay = random.randint(*snowball_rate) / 10&#13;
&#13;
    for snowball in list_of_snowballs:&#13;
        move_snowball(snowball, wind=wind)&#13;
        if snowball.ycor() &lt; -height / 2:&#13;
            snowball.clear()&#13;
            list_of_snowballs.remove(snowball)&#13;
&#13;
    if time.time() - wind_timer &gt; wind_delay:&#13;
        wind += wind_step&#13;
        if wind &gt;= max_wind:&#13;
            wind_step = -wind_step&#13;
        elif wind &lt;= 0:&#13;
            wind_step = abs(wind_step)&#13;
&#13;
        wind_timer = time.time()&#13;
        wind_delay = random.randint(*wind_change) / 10&#13;
&#13;
    window.update()&#13;
&#13;
turtle.done()</pre>
<h2 id="ftoc-code-python-cay-thong-nodel-co-tuyet-roi" class="ftwp-heading">Code Python pine node with snow</h2>
<p>The Python code below will draw a Christmas tree with surrounding lights and snow effect.  You can also change the text in the form you like to send to friends and people on Christmas.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-44520" src="https://anonyviet.com/wp-content/uploads/2022/12/code-python-merry-christmas.png" alt="code python merry christmas" width="440" height="438" srcset="https://anonyviet.com/wp-content/uploads/2022/12/code-python-merry-christmas.png 440w, https://anonyviet.com/wp-content/uploads/2022/12/code-python-merry-christmas-300x300.png 300w, https://anonyviet.com/wp-content/uploads/2022/12/code-python-merry-christmas-150x150.png 150w, https://anonyviet.com/wp-content/uploads/2022/12/code-python-merry-christmas-75x75.png 75w" sizes="auto, (max-width: 440px) 100vw, 440px" title="Code Christmas tree in Python - Merry Christmas Python 10"/></p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">import turtle&#13;
import random&#13;
&#13;
web_based = True&#13;
# web_based = False&#13;
&#13;
if web_based:&#13;
    i_scale = 1.5&#13;
    snow_size = 4&#13;
    snow_speed = 3&#13;
    draw_speed = 10&#13;
    rate_of_snow_balls = 6&#13;
else:&#13;
    i_scale = 1&#13;
    snow_size = 7&#13;
    snow_speed = 2&#13;
    draw_speed = 10&#13;
    rate_of_snow_balls = 2&#13;
&#13;
width = 600 / i_scale&#13;
height = 600 / i_scale&#13;
&#13;
screen = turtle.Screen()&#13;
if not web_based:&#13;
    screen.setup(width, height)&#13;
    screen.title("Happy Christmas from AnonyViet")&#13;
&#13;
&#13;
# screen.tracer(0)&#13;
&#13;
&#13;
def make_triangle(x, y, size, outline, triangle):&#13;
    triangle.hideturtle()&#13;
    triangle.penup()&#13;
    triangle.setposition(x, y)&#13;
    triangle.pensize(3)&#13;
    if outline:&#13;
        triangle.pendown()&#13;
    if not outline:&#13;
        triangle.fillcolor("forest green")&#13;
        triangle.begin_fill()&#13;
    triangle.setposition(x + size, y - size)&#13;
    triangle.setposition(x - size, y - size)&#13;
    triangle.setposition(x, y)&#13;
    if not outline:&#13;
        triangle.end_fill()&#13;
&#13;
&#13;
def make_ball(x, y, size, colour, ball):&#13;
    ball.hideturtle()&#13;
    ball.penup()&#13;
    ball.setposition(x, y)&#13;
    ball.color(colour)&#13;
    ball.dot(size)&#13;
&#13;
&#13;
def move_snow(snow):&#13;
    position = snow.position()&#13;
    snow.clear()&#13;
    make_ball(position[0], position[1] - snow_speed, snow_size, "white", snow)&#13;
&#13;
&#13;
def snow_fall():&#13;
    rand_make_snow = random.randint(0, rate_of_snow_balls)&#13;
    if rand_make_snow == 0:&#13;
        snow = turtle.Turtle()&#13;
        snow.hideturtle()&#13;
        snow.penup()&#13;
        list_of_snow.append(snow)&#13;
        make_ball(random.randint(-width / 2, width / 2), width / 2, snow_size,&#13;
                  "white", snow)&#13;
    for snow in list_of_snow:&#13;
        move_snow(snow)&#13;
        if snow.position()[1] &lt;= -width / 2:&#13;
            snow.clear()&#13;
            list_of_snow.remove(snow)&#13;
            del snow&#13;
    screen.update()&#13;
&#13;
&#13;
# make tree (main part)&#13;
triangle_1 = turtle.Turtle()&#13;
triangle_1.speed(draw_speed)&#13;
outline = True&#13;
for repeat in range(2):&#13;
    make_triangle(0, width / 3, width / 6, outline, triangle_1)&#13;
    make_triangle(0, width / 4, width / 4, outline, triangle_1)&#13;
    make_triangle(0, width / 8, width / 3, outline, triangle_1)&#13;
    outline = False&#13;
&#13;
screen.tracer(0)&#13;
stem = turtle.Turtle()&#13;
# white snowy ground&#13;
stem.penup()&#13;
stem.hideturtle()&#13;
stem.setposition(-width, -width / 3)&#13;
stem.color("white")&#13;
stem.begin_fill()&#13;
stem.setposition(width, -width / 3)&#13;
stem.setposition(width, -width / 2)&#13;
stem.setposition(-width, -width / 2)&#13;
stem.end_fill()&#13;
screen.update()&#13;
&#13;
# tree stem&#13;
stem.color("brown")&#13;
stem.setposition(-width / 30, -width / 4.8)&#13;
screen.tracer(1)&#13;
stem.pendown()&#13;
stem.begin_fill()&#13;
stem.setposition(width / 30, -width / 4.8)&#13;
stem.setposition(width / 30, -3 * width / 8)&#13;
stem.setposition(-width / 30, -3 * width / 8)&#13;
stem.setposition(-width / 30, -width / 4.8)&#13;
stem.end_fill()&#13;
&#13;
screen.bgcolor("sky blue")&#13;
&#13;
# decorations: balls&#13;
screen.tracer(2)&#13;
ball_colours = ["red", "red", "red", "gold", "violet", "white"]&#13;
ball_positions = [(-width / 30, width / 4), (3 * width / 40, width / 5),&#13;
                  (-width / 20, width / 6), (width / 30, width / 9),&#13;
                  (-width / 12, width / 30), (width / 12, width / 24),&#13;
                  (-width / 9, -width / 20), (width / 8, -width / 15),&#13;
                  (0, -width / 6), (-width / 6, -width / 6),&#13;
                  (width / 5, -width / 7.5)&#13;
                  ]&#13;
for position in ball_positions:&#13;
    make_ball(position[0], position[1], 20 / i_scale,&#13;
              random.choice(ball_colours),&#13;
              turtle.Turtle())&#13;
    screen.update()&#13;
&#13;
# snow is falling…&#13;
list_of_snow = []&#13;
&#13;
screen.tracer(0)&#13;
for _ in range(50):&#13;
    snow_fall()&#13;
&#13;
text_1 = turtle.Turtle()&#13;
text_1.hideturtle()&#13;
text_1.penup()&#13;
text_1.setposition(0, width / 2.7)&#13;
text_1.color("red")&#13;
# text_1.write("Merry Christmas", font=("Georgia", 30, "bold"), align="center")&#13;
text_1.write("Merry Christmas",&#13;
             font=("Apple Chancery", max(int(30 / i_scale), 15), "bold"),&#13;
             align="center")&#13;
&#13;
for _ in range(25):&#13;
    snow_fall()&#13;
&#13;
text_1.setposition(width / 60, -width / 2.18)&#13;
text_1.color("black")&#13;
# text_1.write("from", font=("Georgia", 20, "normal"), align="center")&#13;
text_1.write("from",&#13;
             font=("Apple Chancery", max(int(20 / i_scale), 10), "normal"),&#13;
             align="center")&#13;
if web_based:&#13;
    text_1.setposition(width / 6, -width / 2.14)&#13;
else:&#13;
    text_1.setposition(width / 7.5, -width / 2.14)&#13;
text_1.color("forest green")&#13;
# text_1.write("code", font=("Arial", 30, "normal"), align="center")&#13;
text_1.write("code", font=("Avenir", max(int(30 / i_scale), 15), "normal"),&#13;
             align="center")&#13;
# text_1.setposition(150, -280)&#13;
if web_based:&#13;
    text_1.setposition(width / 2.95, -width / 2.14)&#13;
else:&#13;
    text_1.setposition(width / 3.85, -width / 2.14)&#13;
text_1.color("black")&#13;
# text_1.write("today", font=("Arial", 30, "normal"), align="center")&#13;
text_1.write("today", font=("Avenir", max(int(30 / i_scale), 15), "normal"),&#13;
             align="center")&#13;
&#13;
if web_based:&#13;
    for _ in range(200):&#13;
        snow_fall()&#13;
else:        &#13;
    while True:&#13;
        snow_fall()&#13;
&#13;
turtle.done()&#13;
</pre>
</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;44517&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;2&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (2 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (2 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/code-christmas-tree-in-python-merry-christmas-python/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2022/12/code-cay-thong-noel-python.png" medium="image"></media:content>
            	</item>
	</channel>
</rss>
