Skip to main content

Featured post

5 Real Digital Skills You need to Perfrom your Job

Understand...Understand before you move further on why many people talking about Digital Skills. I have listed out the real Digital skills that you need to perform your job.

1. Automation of Repeated Tasks Take the best example of saving all the emails from google account. That is after sending an email that should save in an Excel document.

This is one kind of Skill. So learning technologiesto create Tools for this kind of automation provide you a lot of job opportunities.

2. Stop Certain activity Using Help of Technology For example, work and home both are different. After certain hours the access to the Company network should be stopped.

So that you can focus on your Home duties. Here you should have tools to do this kind of activity.

3.  Handling Data in New Age Smart Phone World How to present data in a user-friendly way is the topmost digital skill. Nowadays there are many tools present. The Best example is Tableau. You can present the data in a user-friendly way.

4. Making Les…

Python For Loop increment Tricky Example

In this post, I have explained tricky for loop example in Python. The usage of FOR LOOP is to create loops. How many times the loop will execute you may supply in the input.
Python For Loop Tricky Example

My Project is to get each character from the input String. I have used for loop to achieve this.

Tricky FOR LOOP Examples

Explained different for loop examples.

1. Python For Loop Syntax using Variable or Array

>> for value in variable

Python For Loop Example

>> myName = 'srinimf'

>> for value in myName
...        print(value)

The result is as follows:
s
r
i
n
i
m
f

2. Python For Loop With '1' to '10' or 'n'

for (i = 1; i <= 10; i++)
    <loop body>
The above for loop useful to create definite loop. The maximum loops are '10'. You can write your logic for each value in Python.

This is one of the tricky and most popular example.

3. How does a Python For Loop works a Flowchart

python for loop array
>The 'letter' contains Value
>stateName is an Array or Variable
>After For Loop you can use BODY statements
Summary
  1. The purpose of the for loop is to handle loops 
  2. You can unstring from the main string 
  3. You can use for loop with range() built-in function 
  4. You can handle program logic in the For Loop

Comments

Most Viewed

Hyperledger Fabric Real Interview Questions Read Today

I am practicing Hyperledger. This is one of the top listed blockchains. This architecture follows R3 Corda specifications. Sharing the interview questions with you that I have prepared for my interview.

Though Ethereum leads in the real-time applications. The latest Hyperledger version is now ready for production applications. It has now become stable for production applications.
The Hyperledger now backed by IBM. But, it is still an open source. These interview questions help you to read quickly. The below set of interview questions help you like a tutorial on Hyperledger fabric. Hyperledger Fabric Interview Questions1). What are Nodes?
In Hyperledger the communication entities are called Nodes.

2). What are the three different types of Nodes?
- Client Node
- Peer Node
- Order Node
The Client node initiates transactions. The peer node commits the transaction. The order node guarantees the delivery.

3). What is Channel?
A channel in Hyperledger is the subnet of the main blockchain. You c…