Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Basics (2015) Letter Game App Letter Game Introduction

Daniel McFarlin
Daniel McFarlin
5,168 Points

Work spaces keeps doing weird indentions and I have no idea why. It never did it before trying this letter_game.py

It didn't start until this lesson, but it keeps indenting way further than necessary for some reason. Specifically after line 28 in this video lesson. It keeps indenting like 5 spaces over for some reason. Anybody know why this might be? I checked for any stupid mistake indenting before this line, but I did not find anything like that. I thought that would be the reason, To be honest, I haven't really been too impressed with workspaces. Should I try using something else to go through the videos with?

2 Answers

Holden Glass
Holden Glass
6,077 Points

Have you checked the indentation marker? It is in the bottom right hand corner of the script editing space. If it is set to 5 then click on the number and type in the amount of spaces you want it to indent with.

Daniel McFarlin
Daniel McFarlin
5,168 Points

....facepalm

How that got changed during the process I have no idea though! But overall iv discovered that I enjoy Pycharm a whole lot more than using workspaces. Well at least for anything python related on Treehouse. Easier to use and awesome auto fill for the tedious repetition of some words.

Anyways, Thank you so much for pointing out that area for me. Well deserving of a "Best Answer"