0

heres an image of the problem in a better formatvariabl =

sta = 2+2

ste = 1+1

sta + ste

print (variabl)

how can i make it so that when i print "varibl" a number 6 shows up on the console? im trying to make it so that the operations inside of the variable are stored within it so that when i print them, the answer to all of them shows up on the console.

my plan was to make two variables inside of "variabl", one that contains the operation 2+2 and another one that contains the operation 1+1, at the end having the result of both being added together stored inside of "variabl".

is this possible?

ive tried using parenthesis and other types of symbols to try and find a way of connecting all parts of the varible together

YBN-PRG230
  • 11
  • 1

0 Answers0