HOW TO LEARN PYTHON PROGRAMMING
PYTHON TUTORIAL FOR BEGINERS i
What is the Python?
Python
is a high-level, interpreted programming language that is object-oriented and
has dynamic semantics. It is very appealing for Rapid Application Development
because of its high-level built-in data structures, dynamic typing, and dynamic
binding. It can also be used as a scripting or glue language to connect
components that already exist. Python's basic, simple to learn grammar stresses
clarity and accordingly decreases the expense of program upkeep. Python's
support for modules and packages encourages code reuse and program modularity.
For all of the major platforms, the Python interpreter and the extensive
standard library are free to distribute in binary or source form.
Programmers
frequently fall in love with Python due to its increased productivity. The
edit, test, and debug cycle is extremely quick because there is no compilation
step. Programming in Python is simple: A segmentation fault will never be
caused by a bug or bad input. Instead, an exception is raised when the
interpreter finds an error. The interpreter prints a stack trace when the
program does not catch the exception. Setting breakpoints, stepping through the
code one line at a time, inspecting local and global variables, evaluating
arbitrary expressions, and other capabilities are all made possible by a source
level debugger. The fact that the debugger was written in Python itself
demonstrates the introspective power of Python. On the other hand, adding a few
print statements to the source code is frequently the quickest way to debug a
program: This easy method is very effective due to the quick edit, test, and
debug cycle.
PYTHON
IS APPLIED FOR
DATA TYPES IN PYTHON
·
Python consists of Three Data
Types
· Numbers
·
There are three Types of Numbers in Python
· Integers Numbers
Ø In
simple sense whole numbers are called integers numbers
Example : 2, 10, 22
·
Floating Numbers
Ø Decimal
Numbers either positive or negative are called Floating Numbers.
Example:
2.1 4.5 -7.8
·
Complex Numbers
Ø Complex
Numbers refer to consisting of real
and imaginary numbers .
Example : 5 & 5k
Here 5 is a real number and k is an
imaginary number.
Strings
Booleans
Booleans
data types are used to choose between two values –true and false. The value depends upon expression of
data.
Example :
Return the Boolean value of 1:
If x=bool(1)
Value=True
Value
of an object will be false if the expression is empty
Example:
Return the Boolean value of {}
If X=bool({})
Value = False
Thank
You
Dr. U.K. Hazarika
COMING SOON
Understanding Crypt
currency
Dr. Umakanta Hazarika
Introduction
Crypto
currency is a virtual form of money that is surprisingly guarded by
cryptography or encryption approaches, making it almost difficult to
counterfeit. Those virtual currencies are intended to feature as a type of
exchange. In general, no country's
reputable government troubles crypto currencies. Crypto currency
networks are protected from any supervision by governmental regulatory
authorities due to their decentralized nature. Virtual currency called crypto
currency is decentralized, based totally on block chain era, and encrypted.
Block chain, decentralization, and cryptography are the first three standards
that one ought to recognize that allows you to apprehend crypto currencies.
Meaning of Terminologies – Blockchain, Decentralization
and Cryptography
In easy phrases, blockchain in the context of
crypto forex is a digital ledger whose access is sent among authorized users. These
ledger records transactions related to a number of assets, like money,
residence, or maybe highbrow belongings. The get right of entry to be shared between
its customers and any information shared is obvious, immediate, and
“immutable”. Immutable means something that blockschain records is there for right
and cannot be modified or tampered with – even by an administrator. Centralized
money refers to the normal money that we use, that is governed through
authorities just like the Reserve bank of India. Decentralization in crypto
currency manner there's no similar authority that can be held responsible for
supervising the upward thrust and fall of a selected crypto forex. This has many blessings over
centralized cash. Alternatively, cryptography is the method that secures
information from unauthorized get admission to by means of the use of
encryption strategies. Maximum of the claims that blockchain makes, like
privateness and immutability, are enabled through cryptography. The roots of
crypto currency generation may be traced again to the Nineteen Eighties with
the discovery of what's called a “blinding set of rules”. The algorithm is all
approximately comfortable and immutable virtual transactions. It remains
fundamental to the contemporary-day virtual foreign money. The underlying block
chain technology is these days utilized in banking, insurance, and different
business sectors. growing at a compounded annual growth fee of 12.8% in view
that 2021, the crypto currency market is anticipated to attain $4.ninety four
billion via 2030, way to the want to improve the efficiency of these days’ payment systems, upward thrust in
international remittances and accelerated want to relaxed information.
How
does it work ?
Cryptocurrencies aren't
controlled by way of the government or central regulatory government. As an idea, cryptocurrency works out of doors of the
banking device the usage of distinctive manufacturers or forms of cash –
Bitcoin being the essential participant.
·
Mining
Crypto currencies (that are absolutely
digital) are generated through a manner referred to as “mining”. that is a
complex procedure. Basically, miners are required to resolve sure mathematical
puzzles over particularly equipped pc structures to be rewarded with bit coins
in trade. In a great global, it'd take a
person simply 10 mines to mine one bit coin, but in reality, the process takes a
predicted 30 days.
·
shopping
for, selling, and storing
users nowadays can
purchase crypto currencies from principal exchanges, brokers, and character
forex owners or sell it to them. Exchanges or structures like Coin base are the
very best ways to buy or promote crypto currencies. Once bought, crypto
currencies can be stored in digital wallets. Digital wallets can be “warm” or
“cold”. Warm means the pockets is connected to the internet, which makes it
smooth to transact, but susceptible to thefts and frauds. Bloodless storage,
then again, is safer however makes it more difficult to transact.
·
Transacting or investing
Crypto currencies like Bit coins may be
easily transferred from one digital wallet to any other, the use of simplest a Smartphone.
After you own them, your selections are to:
a) Use them to shop for
items or offerings
b) Change in them
c) Trade them for coins
In case you are using Bit coin for
purchases, the very best manner to do that is thru debit-card-type
transactions. you could also use those debit playing cards to withdraw cash,
similar to at an ATM. converting crypto currency to cash is likewise feasible
the usage of banking debts or peer-to-peer transactions.
Typology
of Crypto currencies
There are tens of lots of
crypto currencies available nowadays with the discern pegged at 10,000 in 2022.
major crypto currencies encompass the subsequent:
·
Bitcoin
Bitcoin is the sector’s first extensively
ordinary shape of cryptocurrency. Bitcoin is so popular, there was a time when
its call was synonymous with cryptocurrency. but capability investors need to
recognize bit coins have grow to be very costly. In 2021, the cost of 1 Bitcoin
was $68,000. however the good information is, you don’t always have to shop for
a whole coin, you could purchase smaller fractions of it.
·
Altcoin
Altcoin is the time period used for any
alternative virtual currency to bitcoin. The maximum popular on this atmosphere
is Ethereum – one of the quickest-developing cryptocurrencies in the
marketplace. there may be additionally a number different altcoins in the
market today together with Luckyblock, Shiba Inu and Terra.
·
Crypto
tokens
The idea of crypto cash
vs tokens can be complicated to many. at the beginning glance, coins and tokens
appear the equal. however, the 2 have many variations -
·
Cash may be mined, however tokens can't be
mined.
·
Coins are linked to blockchains, tokens
aren't.
In terms of utility, they range in the
form of product or service they permit customers to purchase.
Why
should we invest in cryptocurreny
There are many benefits
to dealing in crypto currencies, and a truthful proportion of disadvantages as
well. Here are the pinnacles reasons
that work in prefer of and towards crypto currencies.
Ø They’re
non-public and cozy:
Ø The
block chain era that fuels crypto currencies guarantees consumer anonymity.
Ø It
also assures excessive degrees of safety through cryptography, which we
mentioned earlier than.
Ø They’re
decentralized, immutable, and obvious: The complete gadget functions on shared
possession, where data is available to all permission contributors and is
tamper-proof.
Ø They’re
a hedge in opposition to inflation:
Ø Crypto
currency makes for a fantastic funding in instances of inflation. For example,
investors frequently evaluate crypto currency to gold.
Ø One
of the reasons at the back of this is that, just like gold, they're in limited
supply, as there's a cap on mining any sort of crypto currency.
THANK YOU
COMING
SOON WITH NEW POST
Comments
Post a Comment