Take this one step at a time. Your teacher has given you the code for step 1. Now write step 2. Then 3, and so on.
For step 2: if you're using Python v2.x you'd use a line like
guess = int( raw_input( "Take another guess: " ) )
For Python v3.x it would be:
guess = int( input( "Take another guess: " ) )
Break it down into small pieces, it's not a complicated assignment.
Def countEvenIntegers(integerList): counter = 0 for item in integerList: if (item%2 = 0): counter += 1 return counter
Answer:
INPUT "What is the amount of rupees you want converted into paisa"; rupees
paisa = rupees*100
PRINT paisa
Explanation:
done in QBASIC
the semicolon in the 1st line makes the question have a ? at the end. the rupees key word in the 1st line saves the input as a variable
then the second line multiplies by 100 since there are 100 paisa in 1 rupee
Is it multiple choice? if not then probably a multi-tasking or strategy though i'm just guessing sorry.