Skip to content
Sign UpLog In
Profile icon

Samuel Lee

@slee8735
Hi
Repls
Community
slee8735
slee8735
shared a Post
3 years ago
What is wrong with this?!?!
It should've worked, but it doesn't. The program should print "Hello" into the test.txt file.
HenryZelonka1
HenryZelonka1
I think you forgot to close the file. 3 years ago
slee8735
slee8735
shared a Post
3 years ago
For instance, I have: AARHUS AARON ABABA ABACK ABAFT ABANDON ABANDONED ABANDONING I want to add them to an empty list, but I'm not totally sure how t
CodingCactus
CodingCactus
string = "AARHUS AARON ABABA ABACK ABAFT ABANDON ABANDONED ABANDONING" listofstring = string.split(" ") This splits the string into a list at every space (" ")3 years ago
slee8735
slee8735
shared a Post
3 years ago
So my problem is that when I input the numbers for the coordinates, indices start at zero. So if I put in 3, 3 for example, the grid will show that I
Battleships
python
slee8735
slee8735
That was it?!?!3 years ago
ChezCoder
ChezCoder
just subtract one from the number :) gridguess_row - 1 = "X"3 years ago
slee8735
slee8735
shared a Post
3 years ago
What does pinning a project in Repl do? Does it mark it as special or something, like when you star an email?
CodeLongAndPros
CodeLongAndPros
It's like "dragging it to the desktop" Anyone who goes to your profile page will see your pinned repls before any other.3 years ago
slee8735
slee8735
shared a Post
3 years ago
Hi! This is my first post, and one of my first projects using C for a class I'm taking. The project is for determining how many nutrients you need ev
Your Nutrition Requirements II
C
Brandid
Brandid
It is indeed an interesting project theme, so I wish you much success. Generally speaking, nutrition is an essential part of our life and we must take care of it, but, unfortunately, many people do not realize this fact and only when it is too late they start to realize it. I personally discovered this earlier and I am happy that I have made this change in my life. Especially after I began using Bladderwrack from https://druggenius.com/nutrition/bladderwrack-uses-benefits-and-side-effects/, my l2 years ago