-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdowhile.html
More file actions
96 lines (76 loc) · 2.89 KB
/
Copy pathdowhile.html
File metadata and controls
96 lines (76 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<title>Loops</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<style>
.fakeimg {
height: 200px;
background: #aaa;
}
</style>
</head>
<body>
<div class="jumbotron text-center" style="margin-bottom:0">
<h1>PyWORLD</h1>
</div>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">PyWORLD</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li ><a href="#">Home</a></li>
<li><a href="#">Basics in python</a></li>
<li class="active"><a href="#">Loops</a></li>
<li><a href="#">Control structures</a></li>
<li><a href="#">Datatypes</a></li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-sm-4">
<h3>Some topics in loops</h3>
<ul class="nav nav-pills nav-stacked">
<li><a href="loops.html">for loop</a></li>
<li><a href="whileloop.html">while loop</a></li>
<li class="active"><a href="dowhile.html">Do While </a></li>
</ul>
<hr class="hidden-sm hidden-md hidden-lg">
</div>
<div class="col-sm-8">
<h2>Do while loop</h2>
<div class="fakeimg">
<img src="img\dowhile.png" width="100%" height="200" >
</div>
<b>do while in Loop:</b>
<p> a do while loop is a control flow statement that executes a block of code at least once, and then repeatedly executes the block, or not, depending on a given boolean condition at the end of the block.</p>
<b>Syntax</b>
<pre>while expression:
statement(s)</pre>
<br>
<iframe src="https://trinket.io/embed/python3/9e35af5fb3" width="100%" height="356" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class="jumbotron text-center" style="margin-bottom:0">
<h3>PyWORLD</h3>
<font align="left">Banashankari 3rd stage,</font><br>
<font align="left">Banashankari,</font><br>
<font align="left">Bangalore 560 085.</font><br>
<font align="left">Contact us at +91 7981451469.</font>
</div>
</body>
</html>