Roshan Book

My Tech Notebook

Python tutorial 1 strings

This program has

a) input method

b) convert to int method

c) if else syntac



g= input(“enter your guess”); # input is in string format
guess=int(g); # This converts input into integer

if guess==5:
    print(“You win”)
else :
    print(“You loose”)


8 responses to “Python tutorial 1 strings

  1. Don Cappa October 3, 2011 at 11:14 am

    Hello Webmaster, I noticed that is ranking pretty low for some keywords, this may be due to the new Google Panda update, or it could be due to a variety of other factors. I’m sure you already know about On-page SEO, where Google cares highly about proper formatting of various H1/H2/H3 tags, having your main keyword appear in the beginning of your post and having your post end with the keyword, along with having keyword related alt tags and very relevant LSI. However, you do not seem to have the proper Keywords or relevant Keywords in your posts and in the website. Right now you need a tool or plugin that will allow you to check on Keyword insights, search trends and check for backlink analysis and to find out your Keyword competition. To find a Keyword Plugin that combines both Keyword Research and has the ability as a Rank Checker is what WordPress Seo Keyword, please check out our 5 minute video.

  2. Dot Turber October 22, 2011 at 12:32 pm

    Good page… Just killing some time at work browsing searches and found your post. Great looking page. I’ll have to add the page to come back and see what’s new. Cheers! My Blog: Lethalia Blogs

  3. Mobile Money Machines ai November 2, 2011 at 1:09 pm

    Hey, I receive a 504 Gateway Timeout HTTP status code when I browse your site. This sometimes means the webhost did not get a timely response. I figured yuo may want to know. Regards Mike

  4. Designer Handbags December 2, 2011 at 11:47 am

    Awesome weblog, it’s just like a game for me! It’s so infomative and usefull, thanks a good deal! If you post more of this great stuff, I’ll visit your blog again!

  5. Louis Vuitton Outlets December 5, 2011 at 8:46 am

    Very good read, thank you for posting.

  6. louis vuitton wallets replica December 5, 2011 at 6:04 pm

    You could definitely see your expertise in the paintings you write. The sector hopes for even more passionate writers such as you who aren’t afraid to mention how they believe. At all times go after your heart.

  7. Pilly December 14, 2011 at 1:08 am

    I have learn some good stuff here. Certainly price bookmarking for revisiting. I surprise how much attempt you place to create the sort of magnificent informative website.

  8. asvab practice questions December 17, 2011 at 6:52 pm

    ||Anti-Spam Club Message|| Together we can eliminate spam by being pro-active. Accept this comment and spread the word by posting it on a friends blog

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: