#I want my output to look like how it is in white image instead of how it currently looks

1 messages · Page 1 of 1 (latest)

mild viper
icy kraken
#

How does it currently look? What have your tried? You need to provide more information. Refer to #📄・posting-guidelines for more information

mild viper
icy kraken
#

First of all, please please please stop using AI to help you for your problem. It is very very bad for beginners (does more harm than good) and isn’t that good either.

This is a relatively simple problem (given during first week of first semester of school). Learn by yourself it will be more beneficial on the long run, trust me.

Secondly, if you put your print statement outside the loop, you will have the same format than your assignment.

Thirdly, you need to fix your (chatGPT) logic. This is obviously not working.

clever pebble
# mild viper

How can we know what is wrong if you don't show us a proper example. You entered the same number each time, of course both result will be 5.

You need to go more in details about what you're trying to accomplish here. What isn't respected? Is it the order of prints, the values, the inputs message?

Also, you should always share you whole code and avoid doing soon via screenshots but rather using codeblock. Take a look at the #📄・posting-guidelines to see how to properly ask for help.

Like Astra, I strongly discouraged using any kind of AI. It requires you to understand what to do and what to ask to get a proper result. That said, the results produced are often erroneous, doesn't follow proper practices, etc. If you don't understand what you're doing you will almost never be able to make an AI do it for you.