Problems with .And Now, For Something Completely Familiar


#1



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

I added the code and it seemed like it should be right from something i saw on a nother persons post but it didnt work.

TO work


# Write your code below, starting on line 3!

my_string = "Foxtrot"
print(my_string)
print(my_string.upper("Foxtrot")


#2

Your problem is in the last line. In line 1 you assigned a string to a variable and in the last line you want to print the string, but to achieve this you don't actually type out the string; you just need your program to print the variable.


#3

then what do i put in the last line im not sure what im doing


#4

Follow my example

my_word = "hello"
print my_word.upper()


#5

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