How can I make this code more attractive | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
3rd Sep 2023, 11:39 AM
P A Arrchith Iyer
P A Arrchith Iyer - avatar
9 ответов
+ 7
P A Arrchith Iyer , the *volume* and the *diagonal* are showing the same result value. this is not correct. the calculation of the diagonal (in this case) of a 3d cube is: x * sqrt(3), where x is the side length. the result of this calculation is a float like: 41.569219381653 if x is 24. may be you can reduce the number of the digital places with the expression: {x * math.sqrt(3):.2f} in your f-string. also this should be corrected: `Volume of this cube is 13824cm**2` => should be: ` ...cm**3`.
3rd Sep 2023, 1:39 PM
Lothar
Lothar - avatar
+ 6
P A Arrchith Iyer In order to make your code more attractive for the common sololearner you should move to HTML/CSS/JavaScript. There you can design a colorful design with lots of animations, blinking smileys or fireworks. Only then you will be able to see your code in "HOT TODAY". 😁😂🤣 [posting consists of 5% truth and 95% sarcasm]
3rd Sep 2023, 2:15 PM
Jan Markus
+ 5
Can you define what you mean by attractive?
3rd Sep 2023, 12:59 PM
JaScript
JaScript - avatar
+ 3
I'll correct it Lothar Thanks for your answer
3rd Sep 2023, 2:27 PM
P A Arrchith Iyer
P A Arrchith Iyer - avatar
+ 3
Like Jan M said...move to HTML/CSS/JavaScript 😊
4th Sep 2023, 7:13 AM
MamickaBeeGames (YouTuber)
MamickaBeeGames (YouTuber) - avatar
+ 1
Like can we change the font I searched it on Google but it only says yes but doesn't say how
3rd Sep 2023, 2:26 PM
P A Arrchith Iyer
P A Arrchith Iyer - avatar
4th Sep 2023, 4:47 PM
Atul Pal
Atul Pal - avatar
+ 1
Jan Markus speaking straight facts
5th Sep 2023, 11:32 AM
Sickfic
Sickfic - avatar
+ 1
Just create a program that does a bunch of ascii art, then you'll be top of the "HOT TODAY" section
5th Sep 2023, 11:32 AM
Sickfic
Sickfic - avatar