Variable Madness

Aloha! I am working on a project for a fictional email program. It involves a pre-populated variable; I use other variables to draw from the first variable to create the “emails”.

My question: I get new “emails” that appear at the end as “new”; they have “sender”, “date”, and “subject”. However, when the emails pop up, it is always the same sender, same date, same subject.

Any general ideas on how to randomize these three?

(I keep coming back to math.floor, but so far no luck…and this may be the wrong tree to bark up anyway.)

Thanks ahead of time on any suggestions you may have!

I think you need to post some code, or an example of the data structure you’re using: I’m not sure what you mean here

1 Like