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 trialSai Kiran Dasika
Courses Plus Student 7,278 PointsWhat is wrong in this code?
Hey could someone tell me where I am wrong?
def small_function():
return True
def bigger_function():
alpha = 2
beta = 4
return (alpha, beta)
3 Answers
Vittorio Somaschini
33,371 PointsHello Sai.
The code challenge is asking you to set all the indentation (where required) to 4 spaces instead of 2 like it currently is.
Vittorio
Chris Freeman
Treehouse Moderator 68,457 PointsUnfortunately, some of the challanges use 2-space indents, others use 4-space indents. In this challenge, they are looking for all indents to be a multiple of 4 spaces.