Python for Network Engineer | Python Variable | Video 2

Publicado em: 09 Setembro 2020
no canal de: 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  


Nesta página do site você pode assistir ao vídeo on-line Python for Network Engineer | Python Variable | Video 2 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Network for you 09 Setembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 4,799 vezes e gostou 87 espectadores. Boa visualização!