Roshan Book

My Tech Notebook

Python tutorial 4 Function Example

Publish a multiplication table using function

# publish a multiplication table upto 10 for the input number

a= input(“Enter the number for which you want multiplication table t”);
b= int(a);

def printtable(b):
    for x in range (1,11):
        y= b*x;
        print(“%s*%s=%s”%(b,x,y) , end=’n’)



11 responses to “Python tutorial 4 Function Example

  1. Uncover the Australian Accent October 17, 2011 at 8:28 pm

    I simply at present wished to notify you about how precisely exactly considerably my wife or husband and document value most that you’ve talked about to help enhance the benefits of this world from individuals on this look. With the posts, I’ve departed away from solely a strong unskilled towards expert in the neighborhood. It will be a classic gratitude with your decent perform. Many thanks.

  2. Learn about a strong Australian Accent October 17, 2011 at 8:41 pm

    I simply at this time was going to tell you about how precisely exactly significantly my husband or wife together with as i enjoy all you spoken of to aid boost the significance of this world connected with men and women from this subject. Throughout the posts, I’ve got removed beyond simply any novice to some expert in the area. It truly is truly a honor to the great deliver the results. Regards.

  3. warez sites October 18, 2011 at 5:59 pm

    Hey i must say this was amazing post keep up the good work

  4. German Galson October 20, 2011 at 1:21 am

    Hello Web Admin, I noticed that your On-Page SEO is not that great, for one you do not use all three H tags in your post, also I notice that you are not using bold or italics properly in your SEO optimization. On-Page SEO means more now than ever since the new Google update: Panda. No longer are backlinks and simply pinging or sending out a RSS feed the key to getting Google PageRank or Alexa Rankings, You now NEED On-Page SEO. So what is good On-Page SEO?First your keyword must appear in the title.Then it must appear in the URL.You have to optimize your keyword and make sure that it has a nice keyword density of 3-5% in your article with relevant LSI (Latent Semantic Indexing). Then you should spread all H1,H2,H3 tags in your article.Your Keyword should appear in your first paragraph and in the last sentence of the page. You should have relevant usage of Bold and italics of your keyword.There should be one internal link to a page on your blog and you should have one image with an alt tag that has your keyword….wait there’s even more Now what if i told you there was a simple WordPress plugin that does all the On-Page SEO, and automatically for you? That’s right AUTOMATICALLY, just watch this 4minute video for more information at. WordPress Seo Plugin

  5. Alfred Kuzyk October 27, 2011 at 10:45 am

    You made some nice points there. I looked on the internet for the topic and found most persons will approve with your blog.

  6. Louis Vuitton Bags Outlet November 30, 2011 at 8:07 am

    Just wanted to say I love reading through your weblog and look forward to all your posts! Keep up the fantastic work!

  7. December 1, 2011 at 1:56 pm

    Mass ping your BackLinks using our pinger.

  8. Gucci Outlet December 5, 2011 at 3:55 am

    I enjoy meeting utile information , this post has got me even more info!

  9. canada goose trillium parka December 10, 2011 at 6:51 am

    No matter what continue fantastic quality writing, it??s rare to see a good blog such as this one today..

  10. Nate December 10, 2011 at 5:00 pm

    Thanks for the article!

  11. meble kuchenne Lublin December 11, 2011 at 6:38 pm

    Thanks for another informative web site. Where else could I get that type of info written in such an ideal way? I’ve a project that I’m just now working on, and I’ve been on the look out for such information.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: