Thursday, December 11, 2014

Activity 1.3.5

On line 3 and 4 it is saying if you have more than 140 characters then it will say "Your tweet is too long edit it to under the max characters"


on line 5 if there is not a "!", "?", "," it will say "You are missing some punctuation"



Conclusion


1.       How many characters are in this sentence? Does it matter whether Python is storing the string as one byte per character or four bytes per character?

There are 40 characters in that sentence.

2. Describe what you think occurs in memory when the following code is executed.


nd an is what it prints