Program to use background color property
Program to use background color property
<html>
<head>
<style>
body
{
background_color: red;
}
</style>
</head>
<body>
<h1> Welcome to HTML </h1>
</body>
</html>
Output-
my_list= [‘p’,’r’,’o’,’b’,’e’]
print(my_list[0])
print(my_list[2])
print(my_list[4])
output-
odd=[1,3,5]
odd.append(7)
odd.extend([9,11,13])
print(odd)
output-
9. Program to add two lists using (+) and (*) operator.
odd=[1,3,5]
print(odd + [9,11,15])
print([“re”] * 5)
output-