0
How to add description to my code
When I make a code and save it there is no description field where is it I wanna put a description for my code
5 Réponses
+ 6
Hima Gaming ,
i am still not completely sure if i have understood you correctly.
from my pojnt of view, we would *not* use the comment page in the sololearn code editors. the reason is, that these comments are linked to the code file, but this is only in sololearn environment.
if the code will be extracted to get outside of sololearn, a copy / paste will not copy those ``comments``. so comments should be put direct in the code file.
general comments can be written at the top of the file, any other comments at the relevant location.
to use the correct characters for comments, yoh have a look the respective language documentation. comments can be done ``line wise`` or ``block wise``.
+ 3
Thereâs no actual description field on SoloLearn. Just drop your description in the comments at the top of your code â thatâs how we do it.
Example:
Python
# Title: Typing Speed Tester
# Made with Python and Tkinter
Simple and clean. Gets the job done.
+ 3
Hello Hima Gaming, welcome to Sololearn!
While you are on the program page, close the keyboard if it is open.
Tap the comment icon located in the banner above the program editing area to open the Comments page for that program.
Tap the green circled "+" to add a comment.
Type your description.
+ 1
Ok thanks i can use meta to do it example like âmeta name =âdescreptionâ content=âthe content inside the descreptionâ