New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Jill I appreciate your idea so much. it will enable us to have a big community
+ 3
https://code.sololearn.com/cXNoeZB47an9/#cs
Here is your code. I suggest that you use a computer to run this.
Seems that SoloLearn is not supporting multiple imputs
+ 2
Nice :)
+ 2
my start in python:
https://code.sololearn.com/c5lNgdXcLqGs/#py
how to use:
enter a command (say, roll or exit)
hit enter
type in the text you want the programm to print out, type "dice" to get a random result of a d6 or type "exit" to terminate the programm.
+ 2
ashia ya Jill A. K. Boafo! be grateful if you are well now
+ 1
Nice idea
+ 1
yoowah!! then follow me too
+ 1
Does anyone have suggestions on what to code next? Something easy for the start, please.
+ 1
I thought about a command line interface (cli) before. A program that takes input consisting of at least a command and may one argument and prints out some output. For example :
Input: >>roll dice
Output: 5
So the program should be able to take an input and run the corresponding function to generate the wished output.
This could later easily be extended by more complex command.
We should start with the part of letting the program call the function our input refers to.
+ 1
what else shoud will add ?
+ 1
hey, i made a new version of my previous code.
https://code.sololearn.com/cUsdUWaPEpTs/#py
we could write more functions to use in our cli.
Maybe a function to solve an equation.
0
Sure ☺
0
Followed you make sure ro follow back
0
👍👍👍👍
0
have you created the Whatsapp group yet?
0
@jill oh ok
0
Can i still join you? I would like to practice python with all of you.