+ 3
I need a simple and funny first exercise for my first project with python
5 ответов
+ 6
I thought this was simple and funny but maybe too simple for you.
https://code.sololearn.com/cx5Vl0ra8t9m/?ref=app
+ 5
You may try to do a text based adventure game in Python. There are lots of tutorials about that on youtube.
+ 5
+1 for textadventure
You can start with a simple one using only if/elif/else structures, change it later to one that also uses functions and even later to one that uses classes. You can even implement a fighting system like it is done here by Kuba
https://code.sololearn.com/c5qxQK1U0x2U/#py
or use a simple class based game engine like I do here:
https://code.sololearn.com/c5Mn2s909qEx/#py
+ 4
Experiment. Believe me I have had VERY confusing results just by messing around.
Try importing a module then typing
print(help(MODULE_NAME))
for example
import random
print(help(random))
+ 3
Do a function that receives input returns true if a number is prime or false if not.