<commit_before><commit_msg>Ibbi2010 Turtle hack exercise and Reflection<commit_after>---
layout: post
author: Ibbi2010
title: "Ibbi2010's turtle exercise"
---

My initial experience with the trinket was almost no experience. It took me a little while to explore what a turtle could do. Once that happened, I wanted to try as many possibilities as I could. But keeping in view my limited knowledge/vocabulary about python, I wanted to polish what I had already learnt. which was mainly creating shapes by using left, right, angles with varying degrees and “forward” codes. 
I don’t know from where  did this idea of “NY” skyline came , but as soon as it did, I knew this would be perfect for practicing the codes I knew.  The first thing I did, was to get a print out of  the skyline silhouette and from thereon pretty much experimented with the angles and distances.
The biggest problems I faced were, basically mirroring both the sides of buildings, using (“to,go”) code to find out various locations on screen and making the triangle at the top of ESB. I struggled making the right side of ESB straight , which tilted after I made the top triangle. I made it work by adjusting the angles. This is how,

```
nael.forward(20)
nael.left(95)
nael.forward(90)
nael.right(190)
nael.forward(89)
nael.left(95)
nael.forward(20)
```

But then there were “A LOT” of adjustments.
Also I think there is a huge room for improvement to make “Chryslers” dome a little better. By this time,I had become tired and bored with the same set of repetitive codes. I did like the end result though. what do you think? 


Hers's how I did it!

<iframe src="https://trinket.io/embed/python/ce9dd159b5" width="100%" height="600" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe>
{'fraction_non_alphanumeric': 0.06749156355455568, 'fraction_numerical': 0.023059617547806523, 'mean_word_length': 4.524844720496894, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6338749', 'n_tokens_mistral': 532, 'n_tokens_neox': 482, 'n_words': 271}