Skip to main content

Posts

Showing posts from June, 2017

Using Java and Python simultaneously

Hi friends,                                                                                                                                    Firstly, I would like to thank you all for your love and support towards our blog.                   We here are happy to know that our previous posts on tutorials and mini projects have helped you a great deal.         So far many of you might have done some really amazing projects using a particular programming language. But in this post of mine, I would like to share with you my mini project for which I have collaborated two of the most amazing programming languages for this project of mine!            Yes! You have read it right! In this project of mine, I have combined Python and Java programming languages.        The main agenda of this project is to combine the two programming languages, which are indirectly dependent on each other. By the way, this project takes input from the user in the form of a JFrame and plots a

Kotlin :A New Beginning

Hello guys, You might have heard about a new language supported for the android Officially by Google,Named as Kotlin. Kotlin is a statically typed Programming language.By statically typed language i mean that the type checking is done during complile time. It was developed in July 2011 by Jetbrains in Russia,In 2017 Google declared Kotlin as the official langauge for android. However the Traditional Java developers are sticking to java. New programmers who want to make android apps,Web apps can use Kotlin as a language of preference. With this Post i welcome you to the world of Kotlin. There is no good book for kotlin but there is the official documentation on Kotlin.I refer the official Kotlin documentation. The main aim of this post if to Introduce you Kotlin and its Uses and also how to write programs in Kotlin. The official documentation can be found on the website   KOTLIN I belive that this post will help you to write codes in Kotlin. So lets begin Firstly

Intro to Python Programming - 3. Basic Input

Hi guys,           Firstly I would like to thank you all for the giving us the wonderful response for our previous posts! Thank you very much for that. It means a lot to us. :) :D                      In my earlier post, I had blogged about Basic Output in Python programming language. I hope you have now understood the concept of printing data onto the standard output device using the print( ) statement.           In this post, we shall learn how the Python program receives input from the user or standard input device. Once again, as I had mentioned in the earlier post, please be careful regarding the version of python you are using.           If you are using Python version 2.7, the input function to be used is: raw_input( ) Whereas, if you’re using Python 3.5, then the input function to be used is: input( ) Before we begin into the coding part, let us compare the input operation in Python with the input operation in C as we had did with the print( ) functio

Intro to Python Programming - 2. Basic Output

Hello everyone!           Considering the lot of requests I received from my dear friends and viewers, I shall now start posting step by step tutorials for mastering Python programming. I proceed with the assumption that you have a basic foundation of the C programming language . If not much of it, at least having some idea about the type specifiers such as ‘%d for integer, %f for floating point variables etc.’ and also, some basic ideas about data types such as int , float , char etc. would be of great help. :)           Before we begin with the coding part of python, I want you to understand a few basic concepts, like: 1.      Python is scripting language. 2.      Python programs do not make use of statement terminators like semicolons ‘;’ as in C, C++ and Java. 3.      A basic Python program does not require any header file. e.g. We use # include < stdio.h > in C to include standard I/O library We import libraries in Python only for some using some special

Web programming part 2

Hello guys, I am back with another post on web programming. In the last post you guys had learnt how to create a simple HTML document. As i told you there are many tags that you might have to remember. In this Post i will be creating a small Login form using only HTML. By using only HTML i mean No styling will be given to the document. The purpose of this code is to demonstrate you tags like <form> and <label> you will also learn how to make a button in HTML. The code goes like this: < form  action ="/action_page.php" >      < label > < b > Username < /b > < /label >      < input  type ="text"  placeholder ="Enter Username" >      < label > < b > Password < /b > < /label >      < input  type ="password"  placeholder ="Enter Password" >      < button  type ="submit" > Login < /button >      < button  type ="button&quo

A simple Calculator Using Python

Hello viewers, Today I am gonna show you a simple code to help you make a calculator using Python programming language. There are a number of ways of doing this.The man idea behind this code is to teach you how to write functions in Python. The syntax goes like this Syntax def functionname ( parameters ): "function_docstring" function_suite return [ expression ] By default, parameters have a positional behavior and you need to inform them in the same order that they were defined. Example The following function takes a string as input parameter and prints it on standard screen. def printme ( str ): "This prints a passed string into this function" print str return The calculator code here: ''' Program make a simple calculator that can add, subtract, multiply and divide using functions ''' # define functions def add ( x , y ): """This function adds two numbers""&q