+ 1

how do i create a code

how to create a code to solve a problem

29th Oct 2024, 1:37 PM
Nagida
5 Réponses
+ 6
Keep learning and do the SoloLearn courses, and you'll find out :) Don't forget to practice, and exploring yourself 🚀
29th Oct 2024, 3:05 PM
Shihan
Shihan - avatar
+ 6
Nagida , you have joined sololearn just some hours ago, and you have not finished any of the tutorials until now. if you wanted to learn python, select the `introduction to python` and start learning. (you can find the tutorials in the learn section) also do exercises that you can find in the tutorials and also use `code coach exercises` from the community section. without having learned the basics of programming language you will hardly be able to create proper codes. be aware that learning to code will take some time and also some effort. be patient and continue learning...
29th Oct 2024, 8:17 PM
Lothar
Lothar - avatar
+ 4
Hi Nagida, This is how to create a code to solve a problem in Python: 1. Understand the problem: Define inputs and expected outputs. 2. Plan your solution: Outline the steps your code will need. 3. Code and test step-by-step: Write a small part, test it, thenn continue. 4. Refine and debugg: Adjust as needed for clarity and efficiency.
30th Oct 2024, 5:53 PM
Per Bratthammar
Per Bratthammar - avatar
+ 3
describe it better, and show you code.... this is not a homework service.... if you want to show something text on the screen, use the print() function if you need something to be entered in a prompt, use the input() function and so on.... first you need to learn the basics, so you are on a great place! :-)
29th Oct 2024, 2:57 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 3
In sololearn you can go to create , then slide down till you see a plus . tap on it, select language, then write your code. for saving it you can press × and sololearn alert you to save it. select the name and if you want you can check public to allow people to see your code. then press save. for opening your code you can go to profile, see activity, code bits and tap on it. It's the best way that I know and if there is a better way please say 😅😅😅. If you don't know how to program please learn it. If you mean how to program the others said everything you should do.
29th Oct 2024, 5:24 PM
Arash Amorzesh
Arash Amorzesh - avatar