Print a value from a dictionary

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By RetroDan007

I have the following dictionary

extends Node

var current_question = 0

var questions = {
quest_01 = ["question 01","answer a","answer b"],
quest_02 = ["question 02","answer a","answer b"],
quest_03 = ["question 03","answer a","answer b"]


func _ready():

for i in questions.size():


From every key in the dictionary. I just want to print to console:
question 01
question 02
question 03

just that Thank you very much.

:bust_in_silhouette: Reply From: Inces
for key in questions.keys():

Thank you.
Works fine

RetroDan007 | 2022-01-04 19:30