<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Thanks David. This has been helpful in understanding a bit more on how parameters are passed through.<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Thu, 18 Oct 2012 04:44:55 -0400<br>> Subject: Re: [Tutor] Help Passing Variables<br>> From: dwightdhutto@gmail.com<br>> To: dangulko@hotmail.com<br>> CC: tutor@python.org<br>> <br>> #A little more complex in terms of params:<br>> <br>> def SwapCaseAndCenter(*kwargs):<br>> <br>>       if upper_or_lower == "upper":<br>>           print a_string.center(center_num).upper()<br>> <br>>  if upper_or_lower == "lower":<br>>           print a_string.center(center_num).lower()<br>> <br>> a_string = raw_input("Give me a word, or letter: ")<br>> upper_or_lower = raw_input("upper, or lower character(s): ")<br>> center_num = int(raw_input("Where should number be centered?: "))<br>> SwapCaseAndCenter(a_string, upper_or_lower, center_num)<br>> <br>> <br>> <br>> -- <br>> Best Regards,<br>> David Hutto<br>> CEO: http://www.hitwebdevelopment.com<br></div>                                          </div></body>
</html>