+ 1
can you make multiple values in var
variables
8 Answers
+ 2
Yes we can
+ 2
It depends.
If the var is a string... No.
Example:
var greeting = "Hello"
If the var is an integer... No.
var age = "21"
If the var is an array... Yes!
var greetings = ["Hello", "Hola", "Yo"]
+ 2
Tuples , arrays and dictionaries are the solution.
+ 1
Yes, use an array for that.
+ 1
Using an array
0
i dont know
0
Yes variable can have multiple values but only constant doesn't change
0
In the python course is the same question about hundret times...dont know why...?
Maybe the people do the first competition and fask for the next step?