What is wrong with my code?


#1



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


Oops, try again. Make sure to use .upper() in your code.


I do not know what to fix


Replace this line with your code. 
# Write your code below, starting on line 3!

my_string = "ball"
print str(3)
print len(my_string)


#2

you need to use .upper() and you don't use upper?


#3

where do i use it?I am confused


#4

i changed line 5 to this

print len ball.upper(3)

it is still giving me an error


#5

can i see your full code?


#6

Write your code below, starting on line 3!

my_string = "ball"
print str(3)
print len ball.upper(3)


#7

you can't use len() and .upper() at the same line


#8

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.