+ 1

How would I be able to call another array to be called - like the first one - and reset the code.

I want to make another array with girl names, and I only want the arrays to be called when a button is pressed. I want both arrays separated with two different buttons. https://code.sololearn.com/W5lP1hlDJ1PA/?ref=app

4th Jun 2018, 4:57 AM
Tyler Howell
Tyler Howell - avatar
3 ответов
+ 3
https://code.sololearn.com/WI9yiqbY0Kf1/?ref=app
4th Jun 2018, 5:13 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 4
You can use genderize.io api to determine gender based on first name.
4th Jun 2018, 5:14 AM
Vikash Pal
Vikash Pal - avatar
0
Thank you, you helped a lot!
5th Jun 2018, 12:53 AM
Tyler Howell
Tyler Howell - avatar