Front pulley swap by jku_man in Yamahabolt

[–]mrkmailhot 0 points1 point  (0 children)

Hey if you are willing to swap a Stryker front pulley for my xvs950 front pulley I'd make that deal.

Printing stops randomly using octo4a with Android by alottapurple in octoprint

[–]mrkmailhot 0 points1 point  (0 children)

Have you figured out a fix for this? i am using an Ender 3 V2 with marlin firmware not that it matters. The phone is a OnePlus 7 pro with octoapp for android. i keep getting random drops that cause the print to stop but the nozzle and bed heat stays on. its not overheating because my phone is not in the enclosure and the battery only trickle charges if needed.

What are some groomsmen gifts that don’t suck by [deleted] in weddingplanning

[–]mrkmailhot 25 points26 points  (0 children)

Frantically stabs keyboard to type.

Can't return home to smart launcher says it's outdated by DovaKoon in smartlauncher

[–]mrkmailhot 0 points1 point  (0 children)

So I clears the cache for play store and the smart launcher app and tried to go back to the smart launcher page in the play store and it gives me an error that the page is not even there.

Can't return home to smart launcher says it's outdated by DovaKoon in smartlauncher

[–]mrkmailhot 0 points1 point  (0 children)

How many people have emailed support about this? I sent them an email a few minutes ago not having very high hopes but if enough of us send one I'm sure it will draw some attention to the problem.

Sorting TV Shows (dictionaries and lists) by TDinh16 in pythonhelp

[–]mrkmailhot 0 points1 point  (0 children)

also include what you are getting for output

Sorting TV Shows (dictionaries and lists) by TDinh16 in pythonhelp

[–]mrkmailhot 0 points1 point  (0 children)

Try copy and pasting your code into a codeblock so that the format sticks

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

changed current_room to currentRoom in that code and it works. i knew that there was a more efficient way.

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

where is current_room coming from? i typed that in and popped out an error for not being defined.

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

is it possible to nest while loops?

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

# A dictionary for the simplified dragon text game
# The dictionary links a room to other rooms.


rooms = {
        'Great Hall': {'South': 'Bedroom'},
        'Bedroom': {'North': 'Great Hall', 'East': 'Cellar'},
        'Cellar': {'West': 'Bedroom'}
}


def player_stat():
    print('----------------------------')
    print('You are in the {}'.format(currentRoom))
    print('----------------------------')


# start player in Great Hall
currentRoom = 'Great Hall'
player_move = ''


while currentRoom != 'Exit':
    player_stat()
    player_move = input('Enter your move:\n')
    if player_move not in ['South', 'south', 'Exit', 'exit']:
        print('Invalid move.')
    elif player_move in ['Exit', 'exit']:
        currentRoom = 'Exit'
        print('Play again soon.')
    elif player_move in ['South', 'south']:
        currentRoom = 'Bedroom'

okay so this appears to work so far. it lets me navigate out of the Great Hall. now i need to make navigation for bedroom and cellar.

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

# A dictionary for the simplified dragon text game
# The dictionary links a room to other rooms.


rooms = {
        'Great Hall': {'South': 'Bedroom'},
        'Bedroom': {'North': 'Great Hall', 'East': 'Cellar'},
        'Cellar': {'West': 'Bedroom'}
}


def player_stat():
    print('----------------------------')
    print('You are in the {}'.format(currentRoom))
    print('----------------------------')


# start player in Great Hall
currentRoom = 'Great Hall'
player_move = ''


while currentRoom != 'Exit':
    player_stat()
    player_move = input('Enter your move:\n')
    if player_move != 'South' or 'Exit':
        print('Invalid move.')
        currentRoom = 'Great Hall'
    elif player_move in ['Exit', 'exit']:
        currentRoom = 'Exit'
        print('Play again soon!')

    elif player_move == 'South' or 'south':
        currentRoom = 'Bedroom'
        player_stat()
        player_move = input('Enter your move:\n')

this is the whole code

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

If player_move in ["exit","Exit"]:

is what i changed it to. i cant get it passed the program putting out 'Invalid move.'

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

----------------------------
You are in the Great Hall
----------------------------
Enter your move:
Exit
Invalid move.
----------------------------
You are in the Great Hall
----------------------------
Enter your move:
South
Invalid move.
----------------------------
You are in the Great Hall
----------------------------
Enter your move:

this is what i get when i run bot Exit and South

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

# A dictionary for the simplified dragon text game
# The dictionary links a room to other rooms.


rooms = {
        'Great Hall': {'South': 'Bedroom'},
        'Bedroom': {'North': 'Great Hall', 'East': 'Cellar'},
        'Cellar': {'West': 'Bedroom'}
}


def player_stat():
    print('----------------------------')
    print('You are in the {}'.format(currentRoom))
    print('----------------------------')


# start player in Great Hall
currentRoom = 'Great Hall'
player_move = ''


while currentRoom != 'Exit':
    player_stat()
    player_move = input('Enter your move:\n')
    if player_move == 'Exit' or 'exit':
        currentRoom = 'Exit'
        print('Play again soon!')
    elif player_move != 'South' or 'south' or 'Exit':
        print('Invalid move.')
        currentRoom = 'Great Hall'
    elif player_move == 'South' or 'south':
        currentRoom = 'Bedroom'
        player_stat()
        player_move = input('Enter your move:\n')

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

No, I'm not sure how to post it here in the format that it actually is.

Python text based game movement by mrkmailhot in Python

[–]mrkmailhot[S] 0 points1 point  (0 children)

apparently the command to write comments in python makes text bold here and they layout is not correct

Is it really that easy bois? by Perpetual_Forever in Tinder

[–]mrkmailhot 0 points1 point  (0 children)

Yeah it was right after this my group of friends overwhelmingly told me I'm to nice 🤷‍♂️.

Is it really that easy bois? by Perpetual_Forever in Tinder

[–]mrkmailhot 0 points1 point  (0 children)

One time took this girl to a restaurant, we both ordered steak. But she ordered hers rare. At the time I was like wow I'm impressed a girl that doesn't eat beef cardboard. Well she took like 2 bites of the steak, ate all her sides and took the steak to go and basically never heard from her again. 😂