Author name: SKB

pip commands for python

pip(Pip Installs Packages): is a command to install various python packages. some of the following pip commands for different packages of python as well as pip upgrade. pip upgrade ———————- python -m pip install –upgrade pip to check pip version ——————————– c:\python34\scripts>pip –version [press enter, shows pip version] to install scipy ———————— c:\python34>pip install scipy …

pip commands for python Read More »

Share

Built-in and user defined functions in Python

# Built-in functions in Python [importing math package] import math x=int(input(“Enter any number:”)) print(“Square root of {0} is {1}”.format(x,math.sqrt(x))) print(“Square of {0} is {1}”.format(x, x*x)) print(“Cube of {0} is {1}”.format(x, x*x*x)) OutPut: Enter any number:5 Square root of 5 is 2.23606797749979 Square of 5 is 25 Cube of 5 is 125   User-defined functions  def …

Built-in and user defined functions in Python Read More »

Share

Python Programs for Beginners – Part2

Basic Python Programs for Beginners – Part 2 # program to display employee salary information name=input(“Enter Name:”) dept=input(“Enter Department:”) basic=int(input(“Enter Basic salary:”)) bonus=basic*(5/100) pf=basic*(10/100) net=basic+bonus-pf print(“Employee Details”) print(“—————————–“) print(“Name=”, name) print(“Basic=”, basic) print(“Bonus=”, bonus) print(“Provident Fund=”, pf) print(“Net salary=”, net) OUTPUT: Enter Name:Ganesh Enter Department:Finance Enter Basic salary:25000 Employee Details —————————– Name= Ganesh Basic= 25000 …

Python Programs for Beginners – Part2 Read More »

Share

Python Programs for Beginners – Part1

Basic Python Programs for Beginners – Part 1 Watch This Video session for How to Run your First Python Program # Sum of two numbers program on python a=int(input(“Enter Num1:”)) b=int(input(“Enter Num2:”)) c=a+b print “sum of {0} and {1} is {2}” .format(a,b,c) c=a-b print “subtraction of {0} from {1} is {2}”.format(a,b,c) c=a*b print “muliplication of …

Python Programs for Beginners – Part1 Read More »

Share

CAT 2019

CAT – Common Admission Test 2019 Registration opens: Aug 7, 2019 at 10AM Registration ends: Sep 18, 2019 at 5PM Admit Card Download: Oct 23, 2019 at 5PM Exam/Test Date: Nov 24, 2019 Apply here:  Click this link for apply online About: CAT is a computer-based test for admission for MBA or management program in …

CAT 2019 Read More »

Share

Full stack developer

What is a full-stack developer? An Information Technology (IT) expert who can work both on a user interface (UI)or client-side and user experience (UX) or server-side technologies and this person knows the 3-tire model of an application. Presentation tier [UI] Business Logic [programming /UX] Database layer [Database server] Now a day’s full-stack developer is in …

Full stack developer Read More »

Share

Stored Procedure in MYSQL WAMP

Stored Procedure in MYSQL using PHPMYADMIN Pre-compiled collection of T-SQL statements stored with a name Written by database developers or DBAs Used to perform administrative tasks, or apply complex business rules Contain DML statements Benefits of Stored Procedures —————————————- Increased execution speed Faster access to data Modular programming Consistency Enhanced security   Types of Stored …

Stored Procedure in MYSQL WAMP Read More »

Share
Share
Scroll to Top