#๐ i am noob
46 messages ยท Page 1 of 1 (latest)
@upper linden
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.
Have you learned about for loops
actuallt yeah thats smart
so basically i have a value called like k-10
and i want to just turn the value into 10
Wdym?
Wdym by that
randonmly x could be = K-9 to K-1
x = K-10?
yeah
you can do regex
or loop . Might be easier
ok
Do you know how to check if a single character is a number
do you know how to loop string?
yes
Then you should be set
yea do that and check each one
Try not to just give answers straight up, but yeah
aight
hahha
Let us know if any more questions pop up or if you have more rn
no its all goods
thanks
i have got it to do what i want
with a loop
but it prints each number in a new line
maybe .strip() would work
you can store the numbers in a new variable to be printed later
Alright good luck
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.