Copy of Project Proposal
Copy of Project Proposal
CLASS: IX BROWN
ROLL.NO: 31
Practical
S.no
1. Print your personal information like Name, Father’s Name, Class and
School Name.
12. Create a list in Python of children selected for science quiz with following
names- Arjun, Sonakshi, Vikram, Sandhya, Sonal, Isha, Kartik .
14. Create a list of first 10 even numbers, add 1 to each list item and print the
final list
15. Create a list List_1=[10,20,30,40]. Add the elements [14,15,12] using the
2
extend function. Now sort the final list in ascending order and print it.
17. Write a python program to find the area of a triangle using herons
formula.
18. Thank-you.
1. Print your personal information like Name, Father’s Name, Class and School
Name?
Source Code:
Output:
I am studying in Class IX
* *****
3
** ****
*** ***
**** **
***** *
Source Code:
print(‘* *****’)
print(‘** ****)
print(‘*** ***’)
Print(‘**** **’)
Print(‘***** *’)
Output:
* *****
** ****
*** ***
**** **
***** *
Source code:
num=7
square=num*num
Output:
Source code:
num1=15
num2=20
sum=num1+num2
print(“sum”)
Output:
35
Source code:
con_factor=1000
5
len_in_m=len_in_km*con_factor
Output:
Source code:
print("5*1 is 5")
print("5*2 is 10")
print("5*3 is 15")
print("5*4 is 20")
print("5*5 is 25")
Output:
the table of 5 is
5*1 is 5
6
5*2 is 10
5*3 is 15
5*4 is 20
5*5 is 25
Source code:
p=2000
r=4.5/100
t=10
simple_interest=p*r*t
Output:
Source code:
area=1/2*base*height
Output:
Source code:
area=length*width
Output:
perimeter=2*(length+width)
Output:
Source code:
average_marks=(subject+subject+subject 3)/3
Output:
Source code:
discount_amount=discount_percent/100*original_amount
discount_amount=original_amount-discount_amount
Output:
Source code:
surface_area=2*(length*breadth+length*height+breadth*height)
Output:
13.Create a list in Python of children selected for science quiz with following names- Arjun,
Sonakshi, Vikram, Sandhya, Sonal, Isha, Kartik? Perform the following tasks on the list in
sequence-
Source code:
list1=['arjun','Sonakshi','Vikram','sandhya','Sonal','Isha','Kartik']
print(list1)
Output:
list1=['arjun','Sonakshi','sandhya','Sonal','Isha','Kartik']
print(list1)
Output:
list1=['arjun','Sonakshi','sandhya','Sonal','Isha','Kartik','jay']
print(list1)
Output:
list1=['arjun','sandhya','Sonal','Isha','Kartik','jay']
print(list1)
Output:
12
Print the elements from second to fourth position using positive indexing
Print the elements from position third to fifth using negative indexing
Source code:
num=[23,12,5,9,65,44]
len(num)
Output:
num=[23,12,5,9,65,44]
print(num[1:5])
Output:
13
[12, 5, 9, 65]
num=[23,12,5,9,65,44]
print(num[-4:-1])
Output:
[5, 9, 65]
15. Write a python program Create a list of first 10 even numbers, add 1 to each list item
and print the final list.
Source code:
print(list2)
Output:
Source Code:
common_characters = []
common_characters.append(char)
Output:
The common characters between hello and world are: ['l', 'o']
Source code:
#s=(a+b+c)/2
#A=(s*(s-a)(s-b)(s-c))**0.5
s=(a+b+c)/2
A=(s*(s-a)(s-b)(s-c))**0.5
15
Result:
enter,a=18
b=16
c=14
So Area=2351.5