What are variables? | How to use Variables in Python (exercise included) | Coding Complex

Pubblicato il: 12 luglio 2021
sul canale di: Coding Complex
143
7

Thanks for watching!

Consider leaving a like and subscribe to the channel for more tutorials!


variables are really important in Python.
So a variable is basically an element ( word , sentence...) that stores data in the computer's memory.

For example:

Class_room = 30

We assigned  number 30 in classroom.
Now we can use this variable anywhere we want in our program.

if we want to print it on the terminal , we type:
Print(price)

without quotations , because it's going to print the word price and not the value.


Exercise used in this video:

I want you to code how many watermelons are in a store ( as many as you want) and assign them a price ( each watermelon ) and print it with the price of each watermelon.
Pause the video , and try to solve this problem.


Music used :    • LAKEY INSPIRED - Better Days  


#variables #python #CodingComplex


In questa pagina del sito puoi guardare il video online What are variables? | How to use Variables in Python (exercise included) | Coding Complex della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Coding Complex 12 luglio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 143 volte e gli è piaciuto 7 spettatori. Buona visione!