#πŸ”’ need a fix

23 messages Β· Page 1 of 1 (latest)

runic edge
#

brand new to python and coding in general, my if block isnt printing for some reason

little heraldBOT
#

@runic edge

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

winged pebble
#

I assume Nord, Elf, and Orc are not variables, but are rather supposed to be strings?

mint parcel
#

odd, this code should be throwing an error

mint parcel
runic edge
winged pebble
#

Once you remove the .upper (If you want to capitalize the first letter, you can use .capitalize()), you'd see that error

mint parcel
#

right, i forgot about capitalize

runic edge
#

tbh idrk what this means

winged pebble
#

need () after .lower

#

.lower is a function, if you want to call it you need to do .lower()

runic edge
#

lets gooooo

#

ty guys

#

need to fix grammar tho

#

now need to figure out a block for wrong inputs

mint parcel
#

if only we had function calls without ()

winged pebble
mint parcel
#

im kidding

#

with magic, though

#

or maybe a roulette? 50% of the time it refers to the function, the other 50% it calls it

#

i think i should turn this into a library

little heraldBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.