Featured post

3 Top Books Every Analytics Engineer to Read

Many of the analytics jobs nowadays are for the financial domain. The top financial domains are Banking, Payments, and credit cards. 
The Best Books are on:
SASUNIXPython

The skills you need to work in data analytics are SAS, UNIX, Python, and JavaScript.  I have selected three books for beginners of data analysts. 

1. SAS best book 
I found one best book that is little SAS. This post covers almost all examples and critical macros you need for your job.

The best-selling Little SAS Book just got even better. Readers worldwide study this easy-to-follow book to help them learn the basics of SAS programming.

Now Rebecca Ottesen has teamed up with the original authors, Lora Delwiche, and Susan Slaughter, to provide a new way to challenge and improve your SAS skills through thought-provoking questions, exercises, and projects.
2. UNIX best book
The basic commands you will get everywhere. The way of executing Macros or shell scripts is really you need. This is a good book so that you can automate…

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

Popular posts from this blog

AWS Vs Azure Load Balancers Top Insights

Hyperledger Fabric: 20 Real Interview Questions

JavaScript Vs JSON Top Differences

10 Best Visualization Charts to Present data