I am a beginner and i dont have much knowledge of python
<p>Task #1 - Create an output that closely mirrors the following:
(You can use a tuple or a list, but you need to check to see if an
item exists before adding it to the data type)</p>

<pre><code>&gt;&gt;&gt;
Initial tuple:  ()
Please enter a word that might be in the tuple or STOP: test
That word was added to the tuple!       Current tuple ('test',)
Please enter a word that might be in the tuple or STOP: python
That word was added to the tuple!       Current tuple ('test', 'python')
Please enter a word that might be in the tuple or STOP: test
That word is already in the tuple!
Please enter a word that might be in the tuple or STOP: STOP
Program's over.         Final tuple:  ('test', 'python')
&gt;&gt;&gt;
</code></pre>

<p>so far for task#1 i have </p>

<p>myTuple= ();</p>

<p>while myTuple:</p>

<pre><code>word= raw_input("Please enter a word that might be in a tuple or STOP:")
</code></pre>

<p>if not word:</p>

<p>print("Program's over.")</p>

<p>print "\nThat word was added to the tuple!"</p>

<p>print "Current Tuple"(word)</p>

<p>raw_input("/n/nPress the enter key to exit.")</p>

<p>Task #2 - Create an output that closely mirrors the following:
(Basic data validation, if user puts in bad input, display an error,
add valid items to the list until the user types STOP)</p>

<pre><code>&gt;&gt;&gt;
Please enter an integer, or STOP to stop: blah
That's not an integer!
Please enter an integer, or STOP to stop: 10
Please enter an integer, or STOP to stop: 20
Please enter an integer, or STOP to stop: 30
Please enter an integer, or STOP to stop: 40
Please enter an integer, or STOP to stop: STOP
Your final list:  [10, 20, 30, 40]
&gt;&gt;&gt;
</code></pre>

<p>for task #2 i have</p>

<p>number=raw_input("Please enter an integer, or STOP to stop:")</p>

<p>if number:</p>

<pre><code>not int

print "That's not an integer!"
</code></pre>

<p>else</p>

<p>print (number)</p>

<p>Task#3 - Create an output that closely mirrors the following:
(Similar to task 5, however, the goal here is to first define a
function, then use the function in the main code block. This is as
much about functionality as it is about legibility.)</p>

<pre><code>&gt;&gt;&gt;
You're making a list, using a function called raw_list!
Please enter an int, or nothing to stop: 1
Please enter an int, or nothing to stop: 2
Please enter an int, or nothing to stop: 3
Please enter an int, or nothing to stop: 4
Please enter an int, or nothing to stop:
The list you made: [1, 2, 3, 4]
&gt;&gt;&gt;
</code></pre>
