Articles

Top 5 digital marketing agencies in Bangalore

by Manoj Singh rathore Digital Marketing Head and Founder
This can be used to what's called append or stick two strings together. digital marketing agencies in Bangalore take a look at an example of that in just a second. Now, most of these results will just cool on print. So print some kind of results and that is just going to print whatever results we set to the consul over online marketing services. So for example, if I said just print out my current value or office number one and I go ahead and run this now because I set my settings to be running out of variables file here I could just click on the run now and as you can see gets printed out. 

Why digital marketing is best?
So let's just go over some really quick examples of some operations we could perform. So let's print number one plus number two. OK. And I'm just going to copy this a bunch of times. A do seven times. OK. digital marketing agencies in Bangalore going to do. Number two minus number one or actually number one is the big ones we can do. Number one minus number two to multiply divide. We can raise this to the exponential rate. We'll do an actual modulus was next to the exponential one here. And finally, we'll do the division and let's just see what the results of each of these will be. So if we go running it then as can see is the addition and subtraction multiplication. 

This is going to be the division the modulus will basically remain overturn the remainder. So divide by seven would be one with a remained of three. That's why we get three printed out. This was days to the seventh power and then because where this is going to be the floor division which will basically discard the remainder tenancies is won and digital marketing agencies in Bangalore throw away that remainder of three. Additionally like I said we can actually concatenate or a pair of strings together. So if I said something like string plus guys OK and then went running that again. Then as you can see Hello guys get printed out right there. 

Some Important points:-
  • So I recall Prince unless we do some fancy printing this is going to print whatever we set these rockets on a new line as you can see digital marketing agencies in Bangalore in some print tips and tricks right at the very end. Once we finished with all of our language basics. 
  • But now this is a very convenient way to print things out and it's totally flexible. Like I said you can put in two variable values like this you can put in a mix of variable and literal values. 
  • This is called a literal string because it's a literal string value. And then we can put in the mix of variables initials or we can actually just how cholesterol's so just print the number and print the number size.
  •  So these are some basic numerical operations. Now let's take a look at some string operations we can perform on strings like this. So to help us so I'm actually going to take a string too and I'm going to have to say something less complicated. 
  • digital marketing agencies in Bangalore have to say something like Python is great programming. We'll see if I could spell programming right. Programming Language.

 OK. Now, first of all, we might want the length of a string so I'm actually just going to comment these all out by the way just use a hotkey command and the forward slash question mark key will comment everything out. And we can just kind of toggle that comment states so now none of these print statements will be executed. And we're just going to move on to our next step down here. 


More about digital marketing agencies in Bangalore:-
So we've already seen we can add strings together or append one string onto the end of another. Again we might want the length of a string so we can actually just Prince and OK which is going to be short full length and then we can stick a string in here such as print string one, for example, this should return the results of. We go ahead and run that. And it's because a is going to be printed out right there. Now we don't want to go up here over time by the way control all will just automatically run your program so press and control. Right now you can see that it ran and print cell results. OK, so some other operations we might once perform on strings digital marketing agencies in Bangalore going to put all these in separate print statements. 

So if I start typing string or it's during to then just the name of a string dots then I get this list of options to choose from so I can capsulize it if I want. I could do something like string two dots. Find is something we'll often ones that do so if I'm trying to find some string within here. Let's see if you can find the string python in some other stuff we might want to do just going to put this on a separate line. You can string two dots and then we can scroll through stuff like is. Alpha is decimal. These will tell you obviously if the string is an alpha string so digital marketing agencies in Bangalore can do that. And then also do the decimal so is something like decimal. 

Next up we might want to replace Dyson's the now string so we could do something like. Again string to replace and we can put something like. Great as trying to replace grates with something like. Fantastic. OK. Some other things we might want to do. Print string two dots and then something like splits is a perfectly good one.

Sponsor Ads


About Manoj Singh rathore Professional   Digital Marketing Head and Founder

401 connections, 57 recommendations, 2,071 honor points.
Joined APSense since, November 6th, 2012, From New Delhi, India.

Created on May 14th 2019 07:17. Viewed 442 times.

Comments

Manoj Singh rathore Professional  Digital Marketing Head and Founder
Techstack®
4th Floor, plot 7, Lane 2, Behind Saket Metro Gate, 2, Westend Marg, Saiyad ul Ajaib, Sainik Farm, New Delhi, Delhi 110030
093198 44494
Oct 15th 2019 15:13   
Please sign in before you comment.