Python Data Types Exercises

What is the output of this code? hashtag = “#Python” hashtag_length = len(hashtag) print(hashtag_length) 6 7 Submit What is the output of this code? phone_number = ‘555-1234′ phone_number_length = len(phone_number) print(phone_number_length) 8 We can’t use the len function on this variable Submit When using the len() function in Python, does it count spaces as well? … Continue reading Python Data Types Exercises