Python len(), upper(), lower() functions


#1



https://www.codecademy.com/courses/python-beginner-sRXwR/1/1?curriculum_id=4f89dab3d788890003000096

Just wondering why these dont work in idle on Python 3.6??


Replace this line with your code.


#2

difficult to say without your code. The exercise url will just fetch my code in that exercise. Copy paste your code to the forum


#3

sorry its just trying to use the len() to print the length of a string but the len() doesn't work in python 3.6.


#4

the len() function works fine. Did you make print a function call? In python3 its a function call where as in python2 its a statement, but if you don't include your code, i can't pinpoint the problem


#5

Hi no worries i finally figured it out, print (len(My_string)) is how I had to use the len() function. sorry im still trying to learn


#6