Saturday, June 7, 2014

Day 63

Explored Python at CodeCademy. Worked on Python tutorial 16 of 16, Strings & Console Output, And Now, For Something Completely Familiar. Refresh on three ways to create strings, string methods, printing a string, advanced printing techniques.

The code used:
my_variable = "Alfa"
print len(my_variable) 
print my_variable.upper()

The interaction looked like this:
4
ALFA

No comments:

Post a Comment