Profile icon

# Cameron LONGBOTTOM

@CameronLONGBOTT
• ## Text-based-RPG

Cover page

Come along with me...

shared a Post
1 year ago
Telium - Sci-fi Text Based Adventure!
Hi there! I made this game as an end of year school project and would like some feedback from people on what i could do to make it better. We were giv
Python
LordPython404
I get this bug when I try to pick it up for the 2+ time. Traceback (most recent call last): File "main.py", line 763, in mainscreen() File "main.py", line 749, in mainscreen mainscreen() File "main.py", line 729, in mainscreen wspawnnpcs() NameError: name 'wspawnnpcs' is not defined1 year ago
CameronLONGBOTT
shared a Post
2 years ago
Hi, at school at the moment we are focusing on binary searches and bubble sort algorithms. I have been tasked with combining the two to create a syste
Python
Coder100
Maybe something about line 43? image2 years ago
CameronLONGBOTT
shared a Post
2 years ago
Hi there. I was wondering if anyone could help me figure out why my Binary Search Algorithm isn't working, I've been trying to figure this out for a w
Python
Coder100
Works for me! Here's the formatted code if you want: Binary Search Algorithm sortedlist = [0, 1, 1, 2, 3, 4, 6, 7, 10] minlist = 0 maxlist = len(sortedlist) - 1 search = int(input("Search Input: ")) while True: midlist = (minlist + maxlist) // 2 if minlist > maxlist: print("Search not found") break elif sortedlist[midlist] == search: print(str(sortedlist[midlist])) break elif search > sortedlist[midlist]: minlist = midlist + 1 elif search < sortedlist[midlist]: maxlist = midlis2 years ago
NISHoriginal
ok. What mistake ur making here is that you are not echoing the index of the value 'search' in line 13. Just change the Hope my answer helped!! :D2 years ago
NISHoriginal
can you please explain what this code do?2 years ago
CameronLONGBOTT
shared a Post
3 years ago
Screenshot 2020-03-05 at 12.13.31 I'm new to termcolor, so I was wondering if I could get some help. I'm trying to print out a variable blue, but an
RomeroSchwarz
On line ten it should be: print (colored("Artificious:\nHello " + username,"blue")) > If this post helped, mark it as the answer3 years ago
CameronLONGBOTT
shared a Post
3 years ago
Hi. This is my first post but i need some help. I've created a program to keep my timetable on, however if you view it you can see that its quite leng
Python