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

Chang Hyeon Lee
Chang Hyeon Lee
2,008 Points

I have a question

what is meaning of empty string. ex) ' ', " " Thank you.

2 Answers

An empty string "" essentially means that the variable is null. It has zero content, but it is still a string.

You can test this by running this:

empty = ""

if empty:
    print("String exists")

if not empty:
   print("String does not exist")

Hope that helps.

Chang Hyeon Lee
Chang Hyeon Lee
2,008 Points

Thank you Max Ungless. How do you practice Python? How to get used to it?

Chang Hyeon Lee, I have been coding in Python for nearly 3 years now. Initially, I just needed a programmatic language to join my HTML, CSS and JS skills together. Now I develop websites in Django and love it.

To practice I can recommend some resources:

All good websites that I use to practice Python. Of course, building your own projects will always be so much better than these, but when you're out of ideas, do some challenges from these websites.

Hope that helps,

Max

Chang Hyeon Lee
Chang Hyeon Lee
2,008 Points

Max Ungless Thank you. I appreciate your recommendation