Skip to content
Sign UpLog In
Profile icon

Cameron LONGBOTTOM

@CameronLONGBOTT
  • Text-based-RPG

    Cover page
    Made with Python

    Come along with me...

    Recent comments (0)
Repls
Community
CameronLONGBOTT
CameronLONGBOTT
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
Telium-3
Python
LordPython404
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
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
Surname sort and search
Python
Coder100
Coder100
Maybe something about line 43? image2 years ago
CameronLONGBOTT
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
Binary Search
Python
Coder100
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
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
NISHoriginal
can you please explain what this code do?2 years ago
CameronLONGBOTT
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
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
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
P-Timetable
Python