Variables Problems

Problem 1

print("Problem 1")

The 8 parts of speech are a noun, verb, adjective, pronoun, preposition, conjunction and interjection.

part of speech



a word (other than a pronoun) used to identify any of a class of people, places, or things ( common noun ), or to name a particular one of these ( proper noun ).


a word used to describe an action, state, or occurrence, and forming the main part of the predicate of a sentence, such as hear, become, happen.


a word or phrase naming an attribute, added to or grammatically related to a noun to modify or describe it.


a word or phrase that modifies or qualifies an adjective, verb, or other adverb or a word group, expressing a relation of place, time, circumstance, manner, cause, degree, etc. (e.g., gently, quite, then, there).


a word governing, and usually preceding, a noun or pronoun and expressing a relation to another word or element in the clause, as in "the man on the platform", "she arrived after dinner", "what did you do it for?"


a word used to connect clauses or sentences or to coordinate words in the same clause (e.g. and, but, if ).


an exclamation, (e.g. ah!, dear me!).

Part I

print("Part I")

Create the following variables and assign appropriate values.

  1. noun

  2. verb

  3. adjective

  4. adverb

  5. preposition

  6. conjunction

  7. interjection

Print each variable.

Part II

print("Part II")

Print a sentence using at least 3 of these variables.

Problem 2

print("Problem 2")

Assign new values to the variables you created in Problem 1. Print the new sentence.

Problem 3

print("Problem 3")

Part I

print("Part I")

Write a paragraph, at least five sentences, about yourself. Include at a quote for yourself and of your favorite author. Print this paragraph. Extrapolate the different parts of speech in each sentence. Create variables like noun1, noun2, verb1, verb2 etc.

Part II

print("Part II")

Change the values of the variables to a friend of yours. Print the new paragraph.

Problem 4

print("Problem 4")

Instead of visiting a Fortune Teller, you decide to try your luck with Lua.

Create the following variables and assign values that you'd like to come true.

  • number of children

  • partner's name

  • geographic location

  • job title

  • car model

Write a sentence using those variables.