7 LAB 2

Activity 4

 <html>
<head>
</head>
<body>
<table bgcolor=black width=700>
<tr bgcolor=yellow>
<th> Photo </th>
<th> Name </th>
<th> Address </th>
</tr>
<tr bgcolor=white align=center>
<td > </td>
<td> Sanjay</td>
<td>Delhi </td>
</tr>
<tr bgcolor=white align=center>
<td > </td> 

<td> Divya </td>
<td>Meerut</td>
</tr>
</table>
</body>
</html>

PROJECT 2 (PAGE NO. 10)

<!DOCTYPE html>
<html>
<head>
<title>Some Popular Monuments in India</title>
</head>
<body bgcolor="RED" text="white">
<h1>Some Popular Monuments in India</h1>
<p>
  Agra
  <ol type="a" style="list-style-type: none;"> 
    <li>&ndash;Taj Mahal</li>
  </ol>
</p>
<p>
  Delhi
  <ol type="a" style="list-style-type: none;">
    <li>&ndash;Red Fort</li>
    <li>&ndash;Qutub Minar</li>
    <li>&ndash;Jantar Mantar</li>
  </ol>
</p>
<p>
  Mumbai
  <ol type="a" style="list-style-type: none;">
    <li>&ndash;Gateway of India</li>
  </ol>
</p>
<p>
  Hyderabad
  <ol type="a" style="list-style-type: none;">
    <li>&ndash;Golconda Fort</li>
  </ol>
</p>
</body>
</html>

PYTHON

ACTIVITY 1 

print("You can't believe in God")
print("                           Until you believe in Yourself") 

ACTIVITY 2

Quotient is: 7.166666666666667 and Remainder is: 1


ACTIVITY 3

Expression                      Output
a > b and c < b        False
a < c and b > c        False
b > a or c > a         True
a < c or a < b         True


ACTIVITY 5

num1 = input('Enter first number: ')
num2 = input('Enter second number: ')
sum = int(num1) + int(num2)
print(sum)

ACTIVITY 6

12 x 1 = 12
12 x 2 = 24
12 x 3 = 36
12 x 4 = 48
12 x 5 = 60
12 x 6 = 72
12 x 7 = 84
12 x 8 = 96
12 x 9 = 108
12 x 10 = 120



Comments

Popular posts from this blog

Class 6

Class 9 Part B Term 2

class 6 Term2