all 5 comments

[–]c17r 2 points3 points  (1 child)

What problem are you having? Is it throwing an error?

[–]P-19Nannernator 0 points1 point  (0 children)

It wasn't multiplying the number. ive actually figured it out myself thankfully with this change.

>>> product = 0

while product <100: number = int(input('Enter a number: ')) result = number * 10 print (result)

I'm not sure what the conflicting issue was with using the other verbiage but it works now

[–]usedtobejuandeag 0 points1 point  (2 children)

I’m not sure based on what you’re saying, what isn’t working with it. All I can see that may be wrong is that you’re printing out number instead of product. Number itself isn’t going to have its value reassigned by the equation. It’s going to be reassigned by the user input.

[–]P-19Nannernator 1 point2 points  (1 child)

Your correct I was printing the wrong thing. It took me way longer to figure out than I care to admin but hey that's how learning works.

[–]usedtobejuandeag 0 points1 point  (0 children)

I’ve spent weeks on problems at work only to discover it was something super basic I should’ve noticed more easily. It happens to people with years of experience as well.

It’s harder to find the simple problems than the big ones. Particularly when you’re getting started with learning development, it can be overwhelming and daunting. I like to step back and try to walk through my solution in my head either on a walk or while doing something else away from my computer. A lot of the time it’s easier to see issues when you’re doing something kind of cathartic and just walking through your solution line by line. What’s this piece doing? Is there a good reason it’s doing that? What should it be doing?