+ 5

how should I set a string into value and not a variable

whenever I type eg:(a = 15) and say print a it prints 15 but instead i want to keep a = 15 as a value and not as a variable. can someone please expain !!!

5th Jun 2019, 5:28 AM
R. Krishna
5 Réponses
+ 10
b = 'a = 15' print(b) # 'a = 15' Like this? No?
5th Jun 2019, 5:54 AM
Anna
Anna - avatar
+ 1
Sheung Kwan Kong B = 'a =' A = 15 print(B, A)
7th Jun 2019, 5:58 PM
Anna
Anna - avatar
+ 1
Thx Anna 👍🏻
7th Jun 2019, 6:02 PM
Amisulpride
Amisulpride - avatar
0
B= ‘a=‘ A=15 Print(B)(A) ? Btw im newbie 😂
7th Jun 2019, 5:55 PM
Amisulpride
Amisulpride - avatar
0
Try all the letters and numbers
13th Jun 2019, 5:59 AM
Andraya