In python for beginners project, basic concept is the topic I was in learning but I can't figure out the coding project under. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In python for beginners project, basic concept is the topic I was in learning but I can't figure out the coding project under.

23rd Jun 2022, 9:37 AM
legendarySaiyan
legendarySaiyan - avatar
14 Answers
+ 4
Just because it's a basic concept, doesn't mean it's not hard to grasp initially. If you need help, we need to see what you have attempted so far even if there's errors/bugs.
23rd Jun 2022, 9:48 AM
Justice
Justice - avatar
+ 1
Then show us. I am not a mind reader. If you can't show the code, we can't help.
23rd Jun 2022, 9:55 AM
Justice
Justice - avatar
+ 1
Go to the Code Playground, Press New Code, paste the code you have in the code bit, save it and then share the link of the Code Bit here.
23rd Jun 2022, 10:07 AM
Justice
Justice - avatar
+ 1
Furious Gamer But overlooked my hint about sharing the code in the question, instead of in an answer. Having it fixed in the question description helps when you have many answers.
23rd Jun 2022, 6:17 PM
Emerson Prado
Emerson Prado - avatar
+ 1
The description of the task says the result should be a float. Why did you use integer division?
23rd Jun 2022, 6:20 PM
Emerson Prado
Emerson Prado - avatar
+ 1
the answer is print(7425 / 550)
24th Jun 2022, 12:14 AM
athaleyah weise
+ 1
athaleyah weise Pls don't give finished code as answer. This is a learning app, and finding the solution is part of the process. Prefer giving hints for the OP to find the solution.
24th Jun 2022, 12:48 AM
Emerson Prado
Emerson Prado - avatar
+ 1
Furious Gamer , using the single slash (/) gives us the answer as a float(decimal) while the double dash (//) gives us the approximate (if the quotient isn't an integer) and closest answer without a float. Just make sure to use the correct operator and you will be well off.
24th Jun 2022, 2:23 PM
Anchita Sarma
Anchita Sarma - avatar
0
What is your attempt?
23rd Jun 2022, 9:39 AM
Justice
Justice - avatar
0
It's basic concept, underneath there's going to be a coding project and I'm stuck on that one
23rd Jun 2022, 9:45 AM
legendarySaiyan
legendarySaiyan - avatar
0
I tried using the \\ with the two given numbers and even % but nothing works it's just wrong
23rd Jun 2022, 9:50 AM
legendarySaiyan
legendarySaiyan - avatar
0
How am I supposed to show it?
23rd Jun 2022, 10:00 AM
legendarySaiyan
legendarySaiyan - avatar
0
Plus: share it by editting your question and including a link to your code using "+" button. Avoid doing this in an answer, because it gets lost among others.
23rd Jun 2022, 12:59 PM
Emerson Prado
Emerson Prado - avatar
0
Here I finally figured how to show the code. https://code.sololearn.com/c979VaiMH4DL/?ref=app
23rd Jun 2022, 4:57 PM
legendarySaiyan
legendarySaiyan - avatar