You are on page 1of 33

Sachdeva millennium ---

school---

SUBMITTED BY: SUBMITTED TO:


Mr. Neeraj K.Mishra
About this file
This file consist of codes and
their output based on our until
programming language taught to us.

This file mainly having two


languages:
1. PYTHON

2. MySQL

As, these two are the main


languages that are taught to us
up to class 12th .
Containing python functions ,lists
,string ,modules ,etc . Along
with the Queries of MySQL.
Program-01

Objective : Python program to write


the series.
Software use : Python IDLE,
Microsoft office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE ABOVE SERIES HAVING A SERIAL


PROGRESSION
Program-02

Objective : Python program to write


the Fibbinocci series.
Software use : Python IDLE,
Microsoft office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE ABOVE SERIES IS A FIBBINOCCI


PROGRESSION
Program-03

Objective : Python program to write


the G.P. series.
Software use : Python IDLE,
Microsoft office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE ABOVE SERIES IS A GEOMETRIC


PROGRESSION
Program-04

Objective : Python program to write


the table.
Software use : Python IDLE,
Microsoft office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program give table of 5


Program-05
Objective : Python program to
count vowels.
Software use : Python IDLE,
Microsoft office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program count 13 vowels in the


sentence.
Program-06
Objective : Python program to
count consonants.
Software use : Python IDLE,
Microsoft office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program count 47 consonants in the


sentence.
Program-07
Objective : Python program to
count words .
Software use : Python IDLE,
Microsoft office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program count 53 words in the


paragraph.
Program-09
Objective : Python program to find the
G.C.D.
Software use : Python IDLE, Microsoft
office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program give the G.C.D . of 32 & 60 .


Program-08
Objective : Python program that
create a calculator.
Software use : Python IDLE,
Microsoft office .
Code : On next page……….
Output:
Program-10
Objective : Python program to
implement stack operation.
Software use : Python IDLE, Microsoft
office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program perform push and pop


operation of stack.
Program-11
Objective : Python program to
interchange values between two
variables
Software use : Python IDLE, Microsoft
office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program interchange the values


Program-12
Objective : Python program tofind
factorial
Software use : Python IDLE, Microsoft
office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program gives the value of 10!


Program-13
Objective : Python program to find
logarithm value.
Software use : Python IDLE, Microsoft
office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program gives the value of ln(2) &


ln(5)
Program-14
Objective : Python program to find
exponential value.
Software use : Python IDLE, Microsoft
office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program gives the value of


exponential factors of 2 & 5
Program-14
Objective : Python program to find
trigonometric value.
Software use : Python IDLE, Microsoft
office .
Code

Output :

ON NEXT PAGE…..
RESULT:

THE above program gives the value of


trigonometric values sine, cosine, tangent
function.
THANK YOU

You might also like