Python Loops: If/else, for, While and Nested Loops!!

In this video take a look at Python loops! We look at if, if/else, and elif loops, for and while loops, and even nested loops!

0:00 | Intro
0:14 | if loop
2:03 | if/else
2:50 | elif
4:02 | more conditional expressions
5:32 | pass keyword
6:27 | nested if loop
8:31 | while loop
10:47 | break keyword
12:02 | continue keyword
13:05 | while/else
13:57 | for loop
15:29 | loop through string literals
15:50 | break/continue keywords
18:30 | range keyword
20:10 | for/else
20:40 | nested for loop
22:07 | pass keyword
22:28 | conclusion

#python #python loops #if/else #for

Python Loops: If/else, for, While and Nested Loops!!
Jackson  Watson

Jackson Watson


Loops Part 5: for vs forEach in JavaScript - Beyond Code Bootcamp

You should use forEach in JavaScript, except for when you must use for, except for when you want to reveal hidden, non-enumerable items… ugh.
Next in Playlist:

Beyond Code:
(Learn to Code in 15 Minutes a Day)
Bootcamp Playlist:
Subscribe on YouTube:
Join on Facebook:
Follow on Twitter:

AJ’s Live Streams:
Watch on Twitch:
Watch on Facebook:
Subscribe on YouTube:

Health, Wealth, Commitment
(My Morning Shower Thoughts as a Daily Lifestyle Vlog)
Join on Facebook:
Subscribe on YouTube:

#softwaredevelopment #softwareengineer #webdevelopment #webdeveloper

#loops #javascript #foreach #for #webdevelopment #webdeveloper

Loops Part 5: for vs forEach in JavaScript - Beyond Code Bootcamp
Dario  Schaden

Dario Schaden


Make YOUR OWN Programming Language - EP 7 - FOR and WHILE statements

Hello and welcome to the seventh episode on how to create your own programming language in Python.

In today’s episode we add in the FOR statement and WHILE statements. In the next episode we will be finally implementing functions.

If you have any questions or problems, please leave a comment below! I will try reply as soon as possible! Don’t forget to leave a like if you enjoyed the video !


Python3 -
This series is loosely based on


Consider supporting me via PATREON

Uncle Bob Clean Architecture book: (affiliate link)

#python #your own programming language #for #while

Make YOUR OWN Programming Language - EP 7 - FOR and WHILE statements
Yuri Filatov

Yuri Filatov


Website lesson 4: HTML + CSS

Welcome back!

Hopefully you tried everything that was mentioned in the previous lesson, checked CSS libraries and it is easy for you to find any tag and use it.

Sum up

  • Before moving to CSS, fill your website with the content (HTML)
  • The hardest thing and the first thing - structure. Assign the right position to every object.


  • The order of objects goes from left to right, from top to bottom. Follow the order.
  • If margin doesn’t work, try padding. Usually the problem is: you write top, but you need bottom
  • Float to choose the orientation.
  • Check the position (x;y) with your template

Continue on CSS working

No need to mention how the tags work. Otherwise what for do I write? Remember, everything is free available on the Internet. You don’t need me or anybody else to learn all the tags and where to write them. I would like to mention things needed in your website:

  • Every text should have color (use colorpicker ), align and font. Try to avoid bright colors that are not comfortable for eyes. Avoid usual colors, like for example, a lot of websites have black backgrounds nowadays. Be creative. Avoid simple fonts (friendly fonts), google for something creative.
  • Images. Good optimized images are usually the same size. Or choose two sizes (example: 300x300 and 600x400). Better not to make every image different size.


Do you like your text or images to be bare?

The answer to this problem is hover.


Hover effects

If we have a. <text> and b.<h1 class="text">, then we initialize:

a. text:hover { ... }

b. .text:hover { ... }

Learn more about hover opportunities


Now you add all needed tags for style and add animation to make your website more attractive. If you use images, make a slideshow. To make the links more visible add some text effect. To catch someone’s eye on some phrase, add some color change to the text. Make your website look like you are a full-fledged designer.

Btw, here is my CSS code for the home page.

The next lesson will be dedicated to some base of communication. See you in 4 days.

Good luck in your job!

Written by Yuri Filatov, IT Expert at Andersen

#html #css #lessons #tutorial #for #beginners

Website lesson 4: HTML + CSS
Yuri Filatov

Yuri Filatov


Website lesson 3: moving to CSS

Welcome back, guys!

Sorry, steemit didn’t let me uploaf my 2nd Part, so you can read here

Hopefully you’ve had enough time to get known with HTML tags.

Sum up

  • Object = tag (menu -> links -> tag <a> )
  • HTML - content you fill the website with
  • Blocks (div) - independent rectangles
  • Not similar objects - attribute class is needed
  • Tags = containers, like variables in programming

If you think that that is the end of our work with HTML, you are wrong. While moving to CSS, you will find out that you need more classes or to change some tags.

You can check my HTML code (for my template)

Moving to CSS

You already have an empty file for CSS, connected with HTML. That is the place to write the same tags as in HTML, but for your style. Now you see only blocks of information that are not structured.
Remember, that it is not a problem to look through communities to check the meaning of tags. Our goal is to structure the idea.


Tag <style> is like tag <body> in HTML. Style - the part where all tags connected to style are written.

Before writing tags for any object, we need to initialize the object.
If it is an object (any tag), then we make

any tag { ... }

Example: a { ... } or h6 { ... }.
That means that all tags for style written there are for every tag a or for every tag h6 in your whole code.

But what about classes?

if you want to make a style not for the whole tag, but a specific one, you need a class name instead of a tag name, but with “.”
If we have <div class="header"></div>, then for class header we write .header { ... }


You look at your template and you see the main problem - wrong position of objects.

We have tags margin and padding

What’s the difference?

If you are a box, then

  • Padding - is a part of you. If you put cereal in the box - it is part of you.
  • Margin - is not a part of you. If the box is closed and you put cereal, it is still not a part of you, because it is out of the box.

Or with simple words, padding - inside, margin - outside.

So they can be left, right, top and bottom.

Try to imagine which one you need and write for every tag or class.
So, that is the time when you can understand that more objects need classes (when you want to move smth without the whole block).

How can I know, how much do you need to move?

For that question, you have your template, where you can see which width and height of objects you have and what is their position.

Width, height and align

The main thing you have to assign for your body - width, height and position. As in my template:

body {
width: 900px;
height: 1500px;
margin: auto;

What is margin: auto;? You see the width of my website is not for the full screen, moreover, it is in the centre of your screen. So this way you make it to be in the center.


You can see that your objects are vertically placed in blocks (div). But at the same time, in my template, for example, we have a horizontal header (objects are horizontally placed).
How to make horizontal flow around objects?


  • Select object orientation - horizontal or vertical
  • Check from which side the objects are flown - on the right or on the left

So the values of float are: right, left, none.


The hardest part is to assign the right position and float. The rest is too easy (color, font and so on).

I give you 4 days to try it by yourself. The next lesson will be dedicated to other tags and especially animation. By the way, I will share my CSS solution.

If you have any questions, write to me anytime!

Good luck with your job!

Written by Yuri Filatov, IT Expert at Andersen

#html #css #lessons #tutorial #for #beginners

Website lesson 3: moving to CSS
Yuri Filatov

Yuri Filatov


Website lesson 2: coding strategy

Welcome back!

If you’ve just found this article, I recommend checking my introduction articles and, of course, the first lesson .

Our goal - to make a project, starting with HTML, moving to CSS, JS, DOM and databases.


Hopefully, you’ve tried to make a template by yourself. The more you try, the more time you save in future. The following code will be an example of my simple project.

Making content

Looking at your template, you already see what objects you have. According to my template , our header have

  • logo
  • heading
  • subheading
  • menu.


We already have our block

<div class="header">...</div>

Let’s fill it with the objects. The first tag is what goes first (here it is a logo). You understand that its object is image, don’t be afraid to use html books to check how to use each tag.


<div class="header"><img src="img1.jpg" />

What is important here? No need to write any special style tags for image, cause it is already have specific attributes such as width and height:

<div class="header"><img src="img1.jpg" widht="400px" height="400px" />

Heading and subheading

The next object is the text which is different. If the objects aren’t the same, then they are separated. You see different sizes - you make two objects of text. Of course, you can use specific tags <h1><h2><h3>..., but what for do we have style tags?

As the result we have:

<div class="header"><img src="img1.jpg" widht="400px" height="400px" /><h1>Sonnenberg</h1><h1>Entspannung für alle</h1>

Where is the mistake?

We’ve already spoken about identity. The objects are different, so we should define classes:

<div class="header"><img src="img1.jpg" widht="400px" height="400px" /><h1 class="heading">Sonnenberg</h1><h1 class="subheading">Entspannung für alle</h1>


Our menu objects are links. As the result we have:

<div class="header"><img src="img1.jpg" widht="400px" height="400px" /><h1 class="heading">Sonnenberg</h1><h1 class="subheading">Entspannung für alle</h1><a href="#">Home</a><a href="Anmeldung.html">Anmeldung</a><a href="Flug.html">Flug</a><a href="Kontakt.html">Kontakt</a>

Why #?

# - a link to itself. If we click on the home button, it won’t redirect us.
What are the files in the links?

It is a direction of your other files-pages. Each page has its file, so make as many files as you need.

Other content

I don’t think it is a problem to fill your website with bare content in its order. Yes, it looks bad, because of no style, but it contains all the information you work with. In the lext lesson we will start working on our design, so you will see that as for HTML it is almost done.


  • No need to use this level headings, you can use the same one (for example <h1>), but with defining classes.
  • If the type of the object is the same (for example, both text in one part), but they are different (for example, different color), you don’t need to find other tags to make this text, just define class.
  • Don’t be afraid to use any resources to check the tags, but don’t copy, it is not effective. Write the same by yourself instead of ctrl+c and ctrl+v.
  • These colored lines in my template are independent blocks (divs). Why? They are different to others (upper and lower), at least with color. It is an independent rectangle.

Try to fill the other content by yourself using my template or make it for yours. In 4 days, we will sum up everything and move to css.

If you have any questions, write to me anytime!

Good luck in your job!

Written by Yuri Filatov, IT Expert at Andersen

#html #css #tutorial #lessons #for #beginners

Website lesson 2: coding strategy
Yuri Filatov

Yuri Filatov


HTML+CSS - is it worth to start?

This is image title

If you are a beginner, you face some problems such as Which language to choose" and so on. Then you discover (hopefully) that HTML and CSS are the easiest to “learn” (I really try to avoid this word) and the creativist direction at the same time, cause it is built on design and its solution. But then this happens: you discover that experts say nothing good about it and moreover it is not the programming language at all…

So… What to do?

HTML and CSS can be named as a base or foundation for real web development. You can try your best building your first simple website using just a notepad app. Nobody says it’s bad, if you study HTML and CSS, if it is not the end of your self-development.


  • Easy to learn. Each tag is understandable, the structure is usual for everyone.
  • A lot of books are freely available on the Internet to study or to find the meaning of each tag.
  • Creativity. That won’t be boring, I promise.
  • Can be studied to check if programming is yours. If it is hard for you, then other languages will be impossible to you.

So, first of all if you try HTML and CSS forget about templates on the Internet.
The goal - to make yours. (individuality)

Helpful online apps to create your website layout

Where to make?

  • Chrome Dev Tools - F12
  • IDE: Intellij IDEA
  • IDE: Webstorm
  • Sublime Text

Start today, don’t leave it until tomorrow and you will see that there is nothing hard. After HTML and CSS your direction will be PHP, JS and databases, so you can be a competitive web developer.

The question I put into the heading is for you. If you are interested in being a web developer in the future, then of course, as a beginner you have to try.

Good luck in your job!

Written by Andersen

#html #css #tutorial #for #beginners

HTML+CSS - is it worth to start?

Web tuts


Laravel Blade For Loop Example

In this example we will show laravel blade for loop example. We will explain how to use for loop in laravel blade. The for loop is used to execute a block of statements, multiple times until and unless a specific condition is met. You will teach laravel for loop use in blade example.

Linl :

#for #laravel #loop #example

Witch Doctor

Witch Doctor


How to install Python on Windows [ Full Guide ]

What is a Python?

Python is a High-Level Programming Language. It is also one of the most popular programming languages in the world. Because of its simplicity and efficiency, we can use Python to make everyday work easier.
Developed by Dutch programmer Guido van Rossum, the programming language was first released in 1991. It was called Python Version 0.9.0. Then in 2000 Python 2.0 was released. Then, with the rise of Python 2.7, Python 3 was introduced. Currently (April 2021) Python 3.9.4 Stable release has been released.

We look forward to continuing the Python tutorial.

#python #install #for #windows

How to install Python on Windows [ Full Guide ]

Restaurant Mobile App Development | Restaurant App Development Company

Running a restaurant business, no matter how lucrative and possibly rewarding, is no mean task. After all, we live in a digital age where the customers want absolute convenience and want it now. Then there’s also the threat posed by the online food ordering apps and cloud kitchens. Thankfully, the industry has found plenty of quality help from technology, which has, in turn, empowered the sector with a world of high-powered, quality tools and solutions. Now, among this crop of solutions on offer, none has proven to be quite as potent as mobile apps. Why? Well, for starters, have you seen how prevalent mobile phones are? With billions of people having access to mobile phones, it only makes sense for businesses, including restaurants, to use them for themselves.

This is image title

Of course, that’s not the only reason why restaurant businesses ought to embrace mobile apps. From the countless benefits this nifty little tool stands to offer to any restaurant, one of the most important is that it empowers businesses with easy access to a whole new group and a substantially bigger set of target consumers. Of course, there’s a world of convenience for all parties involved in the ecosystem as well. However, is that reason enough for restaurants to embrace mobile apps? Absolutely not; so here are some more reasons why they make plenty of sense for restaurants.

1. **Ease of processing orders**: A restaurant mobile app can streamline the online food ordering process and make it significantly easier than a manual process that necessitates phone calls or a physical visit to the location. Furthermore, it also enables customers to provide additional information about their dietary requirements, make special requests and more without leaving any scope for confusion.
2. **Online reservations**: Among the most crucial goals of any mobile restaurant app is to allow customers to place orders or even make reservations online. You see, the modern-day customer wants to be able to execute pretty much all of their daily tasks and chores online, including making reservations for a table in a restaurant or just ordering food. A mobile app cuts out the manual process, offers customers updated information about availability, timings, etc. All these factors contribute towards the delivery of a high-quality customer experience.
3. **Improved customer experience**: While the convenience and the ease offered by a restaurant mobile app are some of their main benefits, there is another aspect where it has much to offer: Better customer experiences. How? Through various means, including loyalty programs, rewards systems, the ability to track their food orders, and so much more.
4. **Leverage social media**: A mobile app also makes it easier for your customers to link it with their social media handles, help login and even easily share their opinions with their peers, friends, and families online.

It is clear as day to see that a mobile app for restaurant business is an absolute must at this point. So, if you want to keep up with this market, we recommend getting a mobile app for your business ASAP.

#mobile #app #for #restaurant #apps #appdevelopment

Restaurant Mobile App Development | Restaurant App Development Company

What is ForTube (FOR) | What is ForTube token | What is FOR token

The ForTube (Previously The Force Protocol) describes itself as a suite of distributed crypto-finance services protocols on an open-source blockchain platform, It aims to offer crypto-finance solutions to developers through its SDK toolkit and APIs for DApp development. The platform reportedly offers solutions for cross-platform asset transactions, cross-chain communication, cryptoasset-backed stablecoin issuance, token bonds issuance, on-chain payments. The Force Protocol Project is a decentralized protocol layer project which is developed and managed by THE FORCE PROTOCOL FOUNDATION LTD. in Singapore. The Force Foundation will be in charge of the security of all cryptoassets raised, and support The Force Protocol development and operations teams building. If profit was generated, it will be retained as fund for community activities, rather than being distributed among members.

ForTube is a decentralized financial services platform that focuses on the crypto bond market.

The boom in  decentralized finance (DeFi) has led to the creation of various DeFi-focused products. Some are made for consumption while others are there to boost the creation of other products.

Take Uniswap and Polkadot, for example. Uniswap is a DeFi product prepared for the end-user while  Polkadot, although in the DeFi ecosystem, is meant to support the creation of platforms seeking inter-chain communication.

Others like ForTube are complete systems powered by a dedicated DeFi network called The Force. Below, we’ll discuss ForTube, what it brings to the DeFi table and how it works. Also, we shall look at The Force protocol with a special focus on its strongholds.

What is ForTube?

ForTube is a decentralized financial services platform that focuses on the crypto bond market. The platform seeks to make financial services inclusive and provide global access to all through ForTube cryptocurrency bonds.

Cryptocurrency bonds are a new bond type where crypto tokens are used to pay the bond. It brings two advantages to the virtual currency market; it avails financing in the digital currency market, and it begets products that introduce fixed incomes in the industry while meeting investor needs.

Furthermore, cryptocurrency bonds are based on distributed ledger technology (DLT), which eliminates the need to seek regulatory greenlights for their issuance. The system is made up of an issuer, investor, and rater. The issuer issues the bond by first demonstrating repayment capabilities through collateral.

Investors invest in the bond using USDT, USDC, and DAI stablecoins. Raters provide a rating on bond credit at a fee. ForTube, therefore, brings all-round functionalities into the crypto space.

ForTube’s Key Components

Bond Credit Rating

The platform uses a decentralized registration process to issue bonds with the issuer’s information automatically verified by the network. In addition, credit rating on the platform always takes a bond’s value into consideration.

The rating is geared towards providing a risk reference for investors. Rating involves both the ForTube community and the professional views with community rating enabled by holding the platform’s native currency, FOR.


After being reviewed, the bond is issued in the form of a BondToken. The token is developed using Ethereum’s ERC-20 standards. Moreover, the token acts as a contract having all the agreements embedded.

The token represents debt obligation (the holder is the creditor) and is not divisible. Each BondToken has a value of $100.

Bond liquidation

In case the pledged amount loses value, ForTube allows for liquidation to mitigate losses. Apart from an asset sinking in value, liquidation can also happen if the issuer fails to repay within the agreed timeline.

The liquidation process takes into account the current debt, target collateralization rate, and the current collateralization rate. The discount rate, collateral price, and the amount before liquidation form part of the liquidation equation.

Reasons for Bond Liquidation

Note that ForTube uses a liquidation that allows the exchange of discounted pledges through its discounted liquidation model. The ForTube liquidation process happens in two scenarios.

In the first one, the debtor is reminded of an impending liquidation when the collateral’s value falls to 80 percent. When it gets to 70 percent, liquidation is ignited. The second situation is when the liquidation is due to a failure in repayment. When the bond expires without full repayment from the debtor, ForTube triggers the liquidation process. The amount liquidated must fully cover the debt and service fees. And liquidated collateral still belongs to the debtor.

Can the Bond be Traded?

Yes. The bonds can be traded on the secondary market. The market allows for a configurable transfer rate and quantity based on a system-generated reference rating. Bondholders and investors have access to crucial information such as credit rating, project interest rate, and basic bond information.

ForTube’s Approach to Community Governance

Since it’s at the development stage, the platform handles governance issues through developers. Currently, the developers decide on supported virtual currencies, credit rating setting, bond duration, repayment grace period, among other parameters.

However, being a decentralized platform, ForTube is keen on introducing community involvement in governance issues.

ForTube’s Native coin, FOR, and The Force Protocol

Before discussing FOR, let’s take a look at The Force.

What is the Force Protocol?

The Force Protocol is a cryptocurrency-based financial platform powered by major blockchain networks. It is made up of DeFi-focused components to provide inclusive, transparent, and secure decentralized financial services to a global audience.

The Force’s Key DeFi Technical Aspects

  • APEC – Also called the basic component, APEC (Assets Protected Elastic Contracts) sits at the core of the protocol. It handles decentralization, contract development, and asset ownership. Generally, it takes care of anything between asset, logic, and data.
  • Blockchain enquiring, auditing, and messaging system (BEAMS) – This module takes care of the blockchain limit, such as inter-chain communication. BEAMS enquires, audits, and provides messaging services from outside the chain.

  • Financial component – This acts as the defense layer of The Force Protocol. It includes things like global emergency lockdown (GEL) for all contracts dealing with asset changes. Cooperative automatic lockdown mechanism (CALM) and multisig admin keys (MAK) are other components of The Force’s financial component.

CALM is an off-chain risk control mechanism while MAK is used to set contract router update permission, global lock flag, among other admin-related parameters.

  • Tokenized protocol – ForTube falls under this category. The category also includes ForTube Bank, a crypto loan platform.
  • Decentralized Stablecoin protocol – Called QIAN, it’s designed to power the creation of stablecoins.

FOR token

FOR is The Force Protocol’s native token. It is used as a governance token on the network. Furthermore, FOR holders can participate in voting on ForTube’s governance proposals, participate in the QIAN ecosystem on things like stability adjustment and global debt auction.

Looking for more information…

WebsiteExplorerExplorer 2WhitepaperSource CodeSocial ChannelSocial Channel 2Social Channel 3Message Board 2Coinmarketcap

Would you like to earn FOR right now! ☞ CLICK HERE

Top exchanges for token-coin trading. Follow instructions and make unlimited money


Thank for visiting and reading this article! I’m highly appreciate your actions! Please share if you liked it!

#blockchain #bitcoin #fortube #for

What is ForTube (FOR) | What is ForTube token | What is FOR token

Why for...of Loop in JavaScript is a Gem

What makes a programming language feature great? When the feature can combine multiple other language features.

This is the case of for...of statement in JavaScript, which is available starting ES2015.

for...of iterates arrays, array-like objects, and generally any iterable (maps, sets, DOM collections). You can destructure the iterated item in place. On top of that, for...of has a short syntax.

In this post, I will demonstrate the useful possibilities of for...of.

#javascript #for

Why for...of Loop in JavaScript is a Gem