Skip to main content

Posts

While loop is never be False why you need to know

While is one of the loop in Python. The specialty is it never be false. You already know that in my previous post I have shared For Loop in Python. The for loop can be false.

I am giving here one best example

print("Help! My computer doesn't work!") 
while True: 
print("Does the computer make any sounds (fans, etc.)") 
choice = input(" or show any lights? (y/n):") 

In the above logic, while is always true. When in input user can give 'Y/N'

if choice == 'n': # The computer does not have power
    print (" Do not show lights")
if choice == 'y': # It is power plugged in
   print ("show lights")

So, while is always true. Based on input the while loop works.

Python is having the below list of Keywords



Also read Best python loop examples
Recent posts

Python for loop example to your project

The for loop you need is to print the data you want usually multiple times. For loop, is having two arguments such as variable name and in.

I have also given video example in the bottom.

For loop Syntax:

for count in[1, 2, 3]: print(count) print(’Yes’*count)

How the above syntax works is what I want to share with you. The 'in' represents input array for Python for loop. That means the for loop works 3 times in Python. It displays only 3 times. The third step just 'yes' is multiplied with 'count' and this is also 3 times.

This is whole story of for loop in Python...

Second step, print just displays values of input that stored in the for loop variable of 'count'. The 'count' gets values one by one from for loop input array.

When you used the Shell to enter a loop, there was a reason that the interpreter waited to respond until after you entered an empty line: The interpreter did not know how long the loop block was going to be! The empty line is a s…

Top three books you need for analytics

This post why I am writing is most of the analytics jobs now a days are in financial projects. The domains are finance,  Banking, Payments and credit cards. Skills you need are like SAS, UNIX, Python and Java Script. These are top books for beginners in data analysis in financial analytics.

SAS best book to read
I found one best book that is little SAS. This covers almost all best 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.

UNIX best book Unix you will get all basic commands every where.  Macros or shell scripts how to execute is really you need. Good book so that you can automate tasks.

Python best book…

5 top differences Microservices Vs SOA all you need

I would like to share my points one by one the typical differences of microservices and SOA. Both are two different architectures.


Micro servicesMicroservices are interconnected using simple APIYou can develop highly scalable and modular applicationsService based architectureIn nature distributed architectureSecurity is big challenge. Since there is no middlewareFunctional services, basically these kindNo co-ordination between services. SOA Service based architectureIn nature distributed architectureSecurity is goodInfrastructure kind of servicesReferences Popular differences of Micro and SOA models

Mainframe study materials for interviews

Mainframe self-study materials given here to read or refresh quickly before you are going for interviews. Mainframe technologies with interview questions at one place.
VSAM 1.0REXX 1.0MVSQuest Second EditionMVSQuest Second Edition – ToolsMQSeries 1.0MAINFRAME Q&AMainframe reference questionsJCL 1.0ISPF V 1.0DB2 1.0IMS 1.0IDMS 1.0COBOL 1.0CICS V1.0Abend codes in MFALL interview questionsReferences
Mainframe-srini blogs

Blue Prism complete tutorials download now

RPA blue prsim tutorial popular resources I have given in this post. You can download quickly.Learning Blue Prism is really good option if you are learner of Robotic process automation. The RPA is also called "Robotic Process Automation"- Real advantages are you can automate any business process and you can complete the customer requests in less time.

The Books Available on Blue Prism 
Blue Prism resourcesDavid chappal PDF bookBlue Prism BlogsVideo Training
RPA training The other Skills you need
Basic business skills and Domain skills are more than enough to be successful in this automation careerScripting languages like Perl/JSON/JavaScript/VBScript.  The interesting point is learning any RPA tool is not a problem. You can learn tool quickly. The real point is how quickly you apply your knowledge to implement automated tasks is important.


Also read
Robotic RPA Software developer skills you needBlue Prism tutorials download to learn quicklyPopular RPA tools functionality differen…

Errors to avoid in newly written PL/SQL procedure

PL/SQL is procedural language, and the PL/SQL procedures you can call from any high level language. This is depending on your project requirement. The story I want to share with you is...
How to prevent some common errors or exceptions while writing PL/SQL procedures in your project. The number one and primary one is assigning variables non-numeric to numeric.....This is one kind of area where you need to look in while writing PL/SQL procedure.


PL/SQL are nothing but an invitation for trouble. They are all centered on data types and implicit conversion.

What's implicit conversion?

Let's say you have number held in a varchar2 data type variable, v_value. You try assigning n_value, a number data type variable, that value with the following line of code:n_value := v_value;
That should work, right? Yes, it should, but when it doesn't, because you don't actually have a numeric literal stored in variable v_value, the implicit data type conversion will raise an "unexpect…