Just like every other language python has an if else block but instead of using the curly braces, we use indentation of 4 spaces to create a code block.
omkarbhagat
Monday, 1 August 2016
Getting User Input in Python
Getting user input is easy in Python as compared to C Plus Plus or JAVA. I like how easy it is with Python. All we use is a function called raw_input() and it does the job for us. Here's the code for getting user input in Python -
Getting started with Python
Hey there! In this post I'll be talking about getting a Python code running on your machine. If you're a Mac user, you don't have to install Python. You'll most likely find Python 2.7 already installed on your machine.
How to share Code Snippets in a Blogspot blog?
I'm thinking of making a switch to Blogger from WordPress. Yes! WordPress is better with all the good stuff but I think I don't want all that. I just want to write stuff. If I make this switch, I'll explain it in a blog post but for now let's come back to the topic.
Some useful links for web-development
These are some useful links which I have noted down for future reference. Just sharing it here as my first post on this blog.
Subscribe to:
Posts (Atom)