+ 4

Do you have some tip to make simple code?

make a some code for beginner.

6th Apr 2018, 1:15 AM
Ivan Rafles
Ivan Rafles - avatar
1 Answer
+ 7
Well, a random generator in python would be cool. Simply do it like this: from random import choice names = [“John”, “joe”] name = choice(names) print(“Your name is “ + name) And add more names, or add another one called age, and stuff like that. Here’s an example: https://code.sololearn.com/cyMv1czTvO1l/?ref=app
6th Apr 2018, 1:30 AM
Jax
Jax - avatar