+ 4
Do you have some tip to make simple code?
make a some code for beginner.
1 ответ
+ 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