Jemin Kikanijemin.hashnode.dev·Feb 27, 2024Day 4: how many types of an Conditional Statement ?Conditional statements are used to perform different actions based on different conditions. In JavaScript we have the following conditional statements: ● Use if to specify a block of code to be executed, if a specified condition is true ● Use else...Discussgo to statment
Rabina Shahiflutterrabina.hashnode.dev·Feb 21, 2024Everything you need to know about loop in DartLoops execute a code block until a specific condition is met. Here we will talk about for loops with while and do-while loop. For loops forEach() Loop It's the method to iterate over each element of iterable whether it be a list, set, or map. Exam...Discussfor-in loop
Abdullah Bin Altafdevopswithabdullah.hashnode.dev·Feb 19, 2024Lecture # 11 - While Loopwhile Loop: In Python, a while loop is used to execute a block of code repeatedly as long as a specified condition is true. Syntax: while condition: #Code to be executed repeatedly as long as the condition is true Example: i = 1 num = int(input(...DiscussDevops
Abdullah Bin Altafdevopswithabdullah.hashnode.dev·Feb 14, 2024Lecture # 5 - Repetitive Structure in Shell ScriptRepetitive Structure in Shell Script: In shell scripting, repetitive structures such as loops are used to execute a block of code multiple times, typically based on certain conditions or a predefined number of iterations. The two most commonly used t...DiscussDevops
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 15, 2023Loops in CLooping in C is a fundamental concept that allows you to execute a block of code repeatedly. There are three primary types of loops in C: for loop while loop do-while loop Each type of loop can be used depending on the specific requirement of th...Discuss·125 readsC ProgrammingLoops
Gekko Wrldblog.gekkowrld.me·Dec 9, 2023While loops in CEver wanted to repeat a block of code in C and wondered how? Then a while loop is your friend. There are many types of loops in C e.g for loop recursion and even just writing your code as many times as you please :) While loop syntax A while loop use...Discusswhile loop
CHANDRESH PATLEchandreshpatle.hashnode.dev·Nov 22, 2023Day 9: Mastering Loops in Python for DevOpsWelcome back to our Python for DevOps series! In today's installment, we're diving into the world of loops a fundamental concept in programming that plays a crucial role in automating repetitive tasks and streamlining DevOps workflows. 🔶 Loops in Py...Discuss·35 reads Python-for-DevOpspython_for_devops_chandresh
Krishna Pathakkrishnapathak.hashnode.dev·Sep 12, 2023While loop In javascript Explained by Krishna PathakWhen you're writing JavaScript code, you'll often come across situations where you need to do something repeatedly. That's where loops come in handy, and one of the most basic types is the while loop. How Does it Work? A while loop is like a little w...Discuss·39 readsJavaScript
Aditya Guptacodewithadi.hashnode.dev·Jul 6, 2023C++ loops | do |while ,do while | forLoops are handy because they save time, reduce errors, and they make code more readable. C++ While Loop The while loop loops through a block of code as long as a specified condition is true: Syntax while (condition) { // code block to be executed...Discuss·55 readsC++
No Knowledge Developerkarthickmv.hashnode.dev·May 27, 2023Python Loop (for and while) and some practice exercisesPython Loops: A Powerful Tool for Iteration and Automation Python is a versatile programming language known for its simplicity and readability. One of the most powerful features of Python is its ability to handle repetitive tasks efficiently through ...Discuss·1 like·94 readsPython