I'm trying to do a simple python program able to print the right variable depend of the incremented value.
a1 = 'hiya'
a2 = 'i love cats'
lignenum = 2
incremented_value = 1
while incremented_value <= lignenum:
print(a, incremented_value)
incremented_value += 1
i want my program to render :
'hiya' 'i love cats'
Thanks for reading me
aandpdefined?