I think that the answer is b
Answer:
Enter time 1 HH:MM:SS8:5:22
Enter time 2 HH:MM:SS7:24:37
0:40:45
Explanation:
The program for above in Python is:
from datetime import datetime
s1 = input("Enter time 1 HH:MM:SS")
s2 = input("Enter time 2 HH:MM:SS")
Format1 = '%H:%M:%S'
tdiff = datetime.strptime(s1, Format1) - datetime.strptime(s2, Format1)
print(tdiff)
We are using the datetime class in datetime module for using strptime to find the difference between the two times.
Answer:
We create a block div with an id="block" and we make the css code
Explanation:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>bloque</title>
<link href="bloque.css" rel="stylesheet" type="text/css">
</head>
<body>
<!--we create the div with the id="block" and a text "hello world"-->
<div id="block"> hello world </div>
</body>
</html>
/* CSS Document */
/* we create the CSS file, then with the same id="block" we're programming in the CSS code*/
#block{
background-color: #ECDEC9;
padding: 20px;
float: left;
font-size: 50px;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Verdana", "sans-serif";
}