Rare INDIANS Coin Part-1

Image
Unique Indians coins by Study4u Currency is a very important thing to a country. To do any transactions you must have enough money. It's not only for the public it's necessary for any country to do any international business .. In around world approximately 195 &196 independent countries in the world 🗺 And total 249/256 countries in the world 🌏. Each country has a different currency 💱 ,,, but we are here to discuss some Indian coins which are rarely seen. I managed to get some Indian coins in this blog I'm going to show you some coins.  maybe this is the best Indian coins blog ever,. 1. The first coin is Rs5. which is indicates the  125TH ANNIVERSARY OF MAULANA ABDUL KALAM AZAD . This coin is very precious for the Muslim religion and as well as Indians. The date mentioned at coin is 11 November 1888 it's Azad sir DOB, and he died on 22 February 1958.  At the current time, this coin value is 1300 INR. 2.  O

Python Strings For Beginners

 

This tutorial is fully made for intermediate and absolute beginners.

you can learn from the very beginning so let's take a look. there is some statement like print, input or many so can learn it by doing code yourself, if there is something important so I can highlight it, so don't need to worry about it.

String : 

          "String is type of alphabetic code like english letters"

 In python you can define string as ::

                    a=3                     

                    b="String"              

                    print(a,b)              

                    print("my name is",(a)) 

                    print("This is ",str(b))


The string is a very easy topic and you can learn it is very fast and also python is very simple so don't panic that how can I learn this.

 String Slicing:

                       Slicing is a way to find a substring from the main string with some specific location.

before slicing you must know about the indexes because in any language we'll count from 0.

so like in the name  "NITIN"  there is 5 number then indexing is ::

        N    I    T    I    N

        0     1    2    3    4

now syntax is : :  print(string_name[starting_index: ending_index])

first_String= "NITIN"

print(first_String[0:2])

OUTPUT  :     NI

    It'll print n-1 number, n= end_index.

print(name[-4:-1])    # It's same as name[1:4]

OUTPUT  :     ITI

It'll start printing from at index 1.


for more detail : 

name="nitin"
# concatenating two strings
print(name[3])
name[2]="v" # it dose not work
print(name[0:4])#it's called string slicing

print(name[:3])#it's automatically detect first string which is [0]
print(name[0:]) #it's automatically detect last  string which is [4] in case of nitin

print(name[-4:-1])# It's same as name[1:4]
print(name[1:4:2])


OUTPUT :
i niti nit nitin iti ii

String Function :

story="my name is nitin singh rawat is is isis is is is"

#string functions

print(len(story)) # It's print the length of string.

print(  story. endswith("rawat")) # It'll give you a boolean T\F. If string ends with
the given value or not.

print(story.count("my")) #It'll count the strings.

print(story.capitalize()) # It'll capitalize first later of your strings.

print(story.find("is")) # It'll find if value with the help of indexes it also count
white spaces.

print(story.replace("is","isa")) # It'llreplace the strings.

story="nitin is good boy, \n he's pursuing \\ b.tech cse " #escape sequences
print(story)

OUTPUT :
48 False
1 My name is nitin singh rawat is is isis is is is
8 my name isa nitin singh rawat isa isa isaisa isa isa isa nitin is good boy, he's pursuing \ b.tech cse

Comments

Popular posts from this blog

Applications of Derivative

Explain Different Types Of Differentiation