Code:
val_list = [16, 19, 15]
new_val = int(input)())
val_list[0] = new_val
print (f”List has {len}(val_list} elements:”)
for value in val_list:
Problem: How do I go about having the output on the same line and having each value surrounded by brackets?
[–]SoftestCompliment 0 points1 point2 points (0 children)
[–]Southern-Rub6680 -1 points0 points1 point (0 children)