Python Crash Course

This post is a quick intro to Python. Python is a 25 year old language. Python is a widely used high-level, general-purpose, interpreted, dynamic programming language.Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. Coming to the Code To explain the various syntax’s of python, let us look at an example Which gives you ‘n’ Fibonacci numbers n=eval(input("Enter the

Continue Reading

Lazy caterer’s sequence

This is one of the problems asked by a guest speaker from CMI. The lazy caterer’s sequence, formally known as the central polygonal numbers, describes the maximum number of pieces of a circle can be cut into by straight lines. For example, three cuts across a pancake will produce six pieces if the all the cuts meet at the center, but seven if they do not. This problem can be formalized mathematically as one of counting the cells in an

Continue Reading

Practice Programs #1

Here are a few apps which will help you to learn python. #android LearnPython , Learn Python Programming #iOS PythonI, Python Tutorial: Learn Python Quickly #web CodeAcademy Want to practice ? Here are some handpicked questions for you to solve. Feel free to revert back to clear any doubts. Question links Question 1 Question 2 Question 3 Question 4 Question 5(Easy) Question 6 Question 7 Question 8 Question 9 Question 10 Haven’t touched a syntax in your life ? Visit

Continue Reading

Site Footer

Sliding Sidebar

About Me

About Me

Hey, I am Thomas Ashish Cherian. What I cannot create, I do not understand.

Social Profiles