how can i improve it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can i improve it?

i am beginner and need help to improve it and make it more tricky. https://code.sololearn.com/cmi3RY74d2aQ/?ref=app

11th Mar 2020, 11:11 AM
Raman
Raman - avatar
5 Answers
+ 7
What exactly do you want to do with this code? I suppose a user inputs a number and if the number is lower than 6 user won otherwise user loses? Or the opposite?
11th Mar 2020, 11:21 AM
Black Winter
+ 5
Make a dice game. For example, 6,5,4 win and 1,2,3 lose. Or something similar.
11th Mar 2020, 3:59 PM
Black Winter
+ 4
You can do it with the basics. In general, for every programming languages, if you know just the basics, you can do a lot of things. It is like knowing how to build the base of a building. IF you build the base then you can build skyscrapers. Work on it and ask if you have any problems.
11th Mar 2020, 11:44 AM
Black Winter
+ 1
well i want to make a tricky riddle by using numbers only. And i want to know that can i do it by learning the basics or i have to do much more learning and then start developing.
11th Mar 2020, 11:33 AM
Raman
Raman - avatar
+ 1
please share your ideas to improve it.
11th Mar 2020, 11:51 AM
Raman
Raman - avatar