From 2afda09ae04eda9bd458abf4ab3f9f8e6e7f7215 Mon Sep 17 00:00:00 2001 From: Ritika Das <61988162+Ritika-Das@users.noreply.github.com> Date: Sat, 3 Oct 2020 17:02:59 +0530 Subject: [PATCH] Create Crimson Winding Staircase.py I have used Python Turtle library to create this pattern. Can be also viewed online at https://repl.it/languages/python_turtle --- Basic-Scripts/Crimson Winding Staircase.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Basic-Scripts/Crimson Winding Staircase.py diff --git a/Basic-Scripts/Crimson Winding Staircase.py b/Basic-Scripts/Crimson Winding Staircase.py new file mode 100644 index 00000000..3eda2cb8 --- /dev/null +++ b/Basic-Scripts/Crimson Winding Staircase.py @@ -0,0 +1,13 @@ +from turtle import * +speed(0) # fastest cursor speed of out Python Turtle + +x = 1 + +while x < 200: + r = 175 + g = 0 + b = 42 + pencolor(r,g,b) # Alabama Crimson RGB color selected from https://rgbcolorcode.com/color/alabama-crimson + fd(50 + x) + rt(90.911) + x = x+1