Posts
TechPechu
Cancel

AWS ElasticIP vs PublicIP

Overview We been asked below questions by one of our subscriber AWS real-time exp help to get some idea for below 3 queries! 1 : How the Public IPs are provisioned in real time environme...

AWS automation options

Overview We been asked below question by one of our dear friend Using python boto3 client we can create vpc with designated IP, creating load balancer in a public subnet and EC2 instances in ...

Art and Convenience of writing

Introduction More often we see people asking for a phone number or urging for a call straight away with no patience to convey their needs as a message. This made us to write us this post, to enl...

Python for loop

For Loop | For loop is generally used to avoid repeated code. and to perform same action in a loop The For loop can be used with any iterable items string list tupple Dictionary etc. ...

Python If statement

If statement If statement in python is simple as in english. Syntax is as below Syntax: if case1: perform action1 elif case2: perform action2 else: perform action3 ⚠️ Inde...

Python Files

In python you can handle any type of files , it can be csv ,pdf txt or any Basic operations: Open a file >>> myfile=open("test_file.txt") | Ensure you are in the same directory where y...

Python List

List You can declare the list within [] >>>a = [1,2,3,4] The List is iterable >>> a = [1,2,3,4] >>> a[0] 1 Same as string it follows syntax [start...

Python String Isnumeric vs Isdigit

In python strings comes with multi inbuilt methods. Out of which two of the methods looks close enough but comes with a minor twist. str.isnumeric() vs str.digit() Both Method returns True or Fa...

Python String Slice

Strings in Python are iterable >>> a = "Hello" >>> a[0] 'H' As you could see the count starts from 0 and goes in increamental >>> a = "Hello" >>> a[0] 'H' &...

Python Interview Question Series

It doesn’t means always the question should be complex, it can be simple aswell to test logical question. Question | Find the square root of a number without using sqrt module Solution It can ...