Skip to main content

Posts

Number System in Python

  Python generally supports integers, fractional values and complex numbers and we have data types for them like int for integers, float for fractional values, and complex for complex numbers, we can understand that but if our computer wants to perform certain operations on bits or some other operations then we need to convert them into some number systems like binary, octal, hexadecimal. These are the three different number systems. Number conversions are used in programming languages because we cannot directly use some operators like bit-wise operators, we need to convert decimals into binary and sometimes we need to convert binary format of a number to decimal, so we use number conversions there Actually, number conversions are done on 4 types 1.       Decimal 2.       Binary 3.       Octal 4.       Hexadecimal 1. Decimal to binary:      ...

Index in Python

  Generally, we add elements in lists, tuples and we delete items, insert elements etc but how can we do that, how can we access a particular element, this is done by using index number. PDF FOR  INDEX IN PYTHON   Ø   Index numbers are nothing but numbers which are given to elements in a list or tuple or array etc to access them. Ø   Index number starts with zero and ends with one less than the given number but For example  List = [1,5,8,13,24,31] 0  1  2  3   4   5 Ø   Each index refers to one element, as we know here the elements in the list are 6 but the maximum index will be 5 this is because index starts with zero so maximum index will always be one less than the length of list or tuple or array etc. ADVANTAGES in Python: Ø   It makes our work easier like we can easily delete the element we want to delete by just using its index number. Ø   There are lot of ways to print elements using ind...

Abacus

First Calculator(C. 1000 B.C.E.) The early calculator instrument we know as the abacus consisting of wooden frame supporting wires or rods on which wooden beads slide from side to side . It was developed in Mesopotamia from a flat, sand-covered  stone counting board on which pebbles were moved. This aid to calculation was in use long before the adoption of the Hindu-Arabic numeral system and can be adapted to any numeral base. This type of calculator has a huge advantages over counting on the fingers of the hand because it can be used to record very large numbers accurately. The easiest type of abacus to understand is the modern western version that uses base of ten. Here each wire carries ten beads and represents a decade  unit i.e, one's, ten's, 100,1000 and so on. A number, say 617483 can be represented by positioning the respective number of beads on each wire against one side of the abacus. It is then a relatively easy task to add or subtract another number from...

Python

python is basic language if you are new to programming  then better to start with python. Already we have discussed what is programming  and tips to start/learn programming   in one of my previous post. And python is fastest growing language in terms of developers and companies using it. Python can be used to make Web applications, Game development, machine learning, Data science etc.        So in this Techy Drift platform we will learn python. This tutorial is for Absolute beginners only who are new to programming. Here we will cover Syntax,concepts,and basics. I will show the programs execution through my own videos. So  guys let's get into the topic. PYTHON:- It is a Programming Language also an interpreted, Object oriented and High-Level Language. As we know that using python we can make wonders. Do you know why python is most important and famous ??  We  already  have c, c++, java etc but still python is very famous. ...

5 Tips to Learn Programming

                                                                                                              Hello Guys! Today I've brought some  important tips for you to learn programming languages. I think if you want to learn programming languages these tips are very helpful. I discovered these tips with a lot of research and my personal experience. Even  I am also learning programming  so I want to share those tips with you. let's begin our tips one by one. Before learning tips beginners should know what is a programming?  A program is a set of instructions that tells the computer to do some tasks which are given by humans. and the process of preparing these instructions is know...

Artificial Intelligence

Brief  note about Mechanical Computers:           It was 1835, the two disciplines was combined to create a "difference engine" by Charles Babbage capable of solving polynomial functions without having to use unreliable, hand calculated tables.         Despite generous government funding, Babbage sadly never fully finished his difference engine and the project abandoned in 1834. Babbage didn't stop thinking about computing. In 1835, Babbage has released designs for his "analytical engine," it is a device similar to the difference engine by using programmable punched cards  had many more potential functions that calculating polynomials.          The engine was never built but thousands of detailed diagrams produced by the Babbage.   In 1849, More efficient and similar difference engine created by the Babbage using the analysis form analytical engine. Engine no.2 was not built until 19...

Instagram Tips and Tricks

Get the Tips and Master the Social Network: As we know that Instagram is ruling the world, with the help of Instagram we can do business also you can use  to edit your photos without posting and you can schedule your posts also. So  here I’ll help you to get those tips. Zooming the Profile Pics without third party apps Actually, in our Instagram we can’t zoom others profile pictures even our profile picture also we cannot open so I'll tell you one trick for that 1.Go to instadp.com no need to login here just enter the username that you want see the profile picture and go for search the account press full size then you will get the zoomed profile pic with clarity. Enable or Disable comments to your posts Of course, you can turnoff comments to your posts simply follow the below steps Open your Instagram account and select the post that you don’t want comments for that post press the 3 dots at top right of your post and...

Contact form

Name

Email *

Message *