[Tutor] Python Question

Danny Yoo dyoo at hashcollision.org
Fri Jan 10 20:57:51 CET 2014


I repeat my question in the hopes that you read it.  Do you have other
examples of functions you have written or seen?

I ask this because if you have never seen a function definition, our advice
is radically different than if you have.

Just giving us the homework statement is fairly useless to us: how does
that help us figure out what part **you** are having difficult with?
On Jan 10, 2014 11:25 AM, "Amy Davidson" <amydavidson at sympatico.ca> wrote:

> hi Danny,
>
> Below are the instructions.
>
> Write a function called printID that takes a name and student number as
> parameters and prints them to the screen.
> E.g.:
> >>> printID("Andrew Joe", 100555555) #note the second parameter *must* be
> of type int
>   "Student Name: Andrew Joe"
>   "Student Number: 100555555"
> On Jan 10, 2014, at 2:14 PM, Danny Yoo <dyoo at hashcollision.org> wrote:
>
> Hi Amy,
>
> Have you seen any other examples of functions in your instruction, either
> in your books or notes?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140110/5a02c505/attachment.html>


More information about the Tutor mailing list