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 Collections (2016, retired 2019) Lists Shopping List Take Three

so little explanation

what is abs , what is none , we need some explanation to understand , i feel like you running a marathon. and i am steel walking

2 Answers

Kirill Kachinsky
Kirill Kachinsky
15,254 Points

yeah he just runs through everything, completely different from the previous teacher, he just says things like whatever, and right?! like you're supposed to know what's going on and just bam bam we done here, right?! LOL

salman khan
salman khan
1,283 Points

hi Daniel Benisti, abs is short form of absolute value which means abs of -5 is 5 or abs of an negative integer is positive and none(None) is nothing but a null for EX

a=5
if a==None:
   print(a)
else:
  print("B")

The output of this code will be B