Python for Network Engineer | Python Variable | Video 2

Published: 09 September 2020
on channel: Network for you
4,799
87

Python for Network Engineer | Python Variable | Video 2
#Python #Networkforyou #Python_Variable

Follow us on Instagram   / _networkforyou_  

Hello Friends,
As per our students request we are bring new play list that is Python for Network Engineer. Please share with your friends. If you have any question What app us.
In this Video we are going to discuss how we can Python Variable.
If you have any question or need any support what app us: +91 81438 09578.
Join our Telegram Channel:https://t.me/networkforyou


Python Variables:
• Assigning a value to a variable is called declaration.
• We can give a variable a name, then use the equal symbol (=) to declare the value.
• Variables are useful when you want to reuse values in our codes.
Strings:
Example 1: a = “Hello World”
Print (a)
b = “Here is Networkforyou Router”
print (b)

Numbers:
We can also use this for numbers. Let declare a number to variables “a” and “b”
Example 1: a = 5
b= 10
Print (a)
Print (b)

Example 2: a = 5
b = 10
pint (a+b)

Re- declare Variable:
We can also re-declare a variable.
Example:
a=1
b=2
print(a)
print (b)
a=3
print(a)
Variable within Variable:
We can assign variable within variable
Example: a=10
b=a
print (b)

Here we create variable a then we assign that a in variable b then we print b.


Functions:
We can also declare a variable to a Python Function.
Example: router = input (“this is Networkforyou Router”)
Print(router)




Conclusion:
• In this we learn How we can declare Variable.
• Declaration mean we can assign a value to variable.
• We can use variables for many things like strings, numbers, Functions etc.
• Re- declaring a variable is no issues we can do like that.

About us:
We are Team of Senior Engineers have more than 12 years experiences and providing CISCO Training classroom, on-site and online training on various Networks, Python for Network Engineer, CISCO Certifications Like CCNA 200-301, CCNP ENCOR 350-401, CCNP ENARSI 300-410 and Firewall etc. Also working as full time as MSO (Mobile Switching Office) Engineer.
Thanks

Stay connected with us!
➤Instagram:   / _networkforyou_  
➤Website: https://networkforyou.net/
➤Twitter:   / networkforyou4  
➤Facebook: https://www.facebook.com/profile.php?...
➤Instagram:   / _networkforyou_  
➤Youtube:    / @networkforyou11  
➤Tumblr:   / networkforyou  


On this page of the site you can watch the video online Python for Network Engineer | Python Variable | Video 2 with a duration of hours minute second in good quality, which was uploaded by the user Network for you 09 September 2020, share the link with friends and acquaintances, this video has already been watched 4,799 times on youtube and it was liked by 87 viewers. Enjoy your viewing!