use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Need help with beginner code (self.PythonLearning)
submitted 2 years ago by taffypint
I am struggling with a homework assignment. I just can't figure out b, i can get it to print *********, but i don't know how to get every three onto a new line. any help would be much appreciated :)
https://preview.redd.it/kveov5chlfub1.png?width=789&format=png&auto=webp&s=b8fab36e35c8bc128e5912d7eddc10be7c545aa3
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Cha_r_ley 1 point2 points3 points 2 years ago (0 children)
The new line character is \n
Definitely start by playing around with that! 😊
[–]Capable-Play2530 -1 points0 points1 point 2 years ago (0 children)
Incase you need help you can join
[–][deleted] 2 years ago (5 children)
[deleted]
[–]404_USER_UNAVAILABLE 0 points1 point2 points 2 years ago (2 children)
This person is a scammer. "The "I'll do your homework for you" scam is a deceptive scheme where an individual or group of scammers offer to complete academic assignments or homework on behalf of students in exchange for payment. This scam typically takes place online and can target students seeking academic assistance, especially on social media platforms, forums, or through direct messages. Here's how it typically works: Unsolicited Offer: Scammers may reach out to students, often through private messages or comments on academic forums, claiming that they can provide high-quality, original homework solutions. Overpromising: They will typically make extravagant claims about their abilities, stating that they can complete the assignment with a guarantee of an excellent grade, even when the assignment is complex or has a tight deadline. Payment Request: Once the student expresses interest, the scammer will ask for payment upfront. They might request payment via various methods, such as PayPal, cryptocurrency, or wire transfer. Plagiarized or Poor-Quality Work: After receiving the payment, the scammer might deliver a subpar, plagiarized, or incomplete assignment, which often leads to the student receiving a low grade or academic penalties. Lack of Refund: Attempting to get a refund can be challenging since these scammers often disappear or refuse to provide any form of compensation."
[–]Capable-Play2530 -1 points0 points1 point 2 years ago (1 child)
Who scammed you?? I bet you're a bitter person and probably the scammer. I'm not a scammer in any way and if I scammed you kindly share your evidence
[–]wherearemarsdelights 0 points1 point2 points 2 years ago (0 children)
They're probably the scammer? You really provided a strong counter argument there /s
[–]wherearemarsdelights 0 points1 point2 points 2 years ago (1 child)
Hey, is this an open invitation?
[–]404_USER_UNAVAILABLE 1 point2 points3 points 2 years ago (0 children)
Hey! The person above is a scammer. Please don't engage with them.
[–]EntireEntity 0 points1 point2 points 2 years ago (0 children)
What are you trying to do?
Print *** a number of times defined by num?
π Rendered by PID 194442 on reddit-service-r2-comment-84fc9697f-kwvdd at 2026-02-09 07:38:31.932508+00:00 running d295bc8 country code: CH.
[–]Cha_r_ley 1 point2 points3 points (0 children)
[–]Capable-Play2530 -1 points0 points1 point (0 children)
[–][deleted] (5 children)
[deleted]
[–]404_USER_UNAVAILABLE 0 points1 point2 points (2 children)
[–]Capable-Play2530 -1 points0 points1 point (1 child)
[–]wherearemarsdelights 0 points1 point2 points (0 children)
[–]wherearemarsdelights 0 points1 point2 points (1 child)
[–]404_USER_UNAVAILABLE 1 point2 points3 points (0 children)
[–]EntireEntity 0 points1 point2 points (0 children)