How do i input multiple strings or numbers seperately? #21407
Answered
by
mpboom
42sungwook
asked this question in
General
-
Beta Was this translation helpful? Give feedback.
Answered by
mpboom
Jun 6, 2022
Replies: 1 comment
-
Hi @WookGyeo and welcome to the forum! Here’s your code formatted in a code block for readability:
It can help to be a bit more explicit about what you actually want. Since I don’t know what your goal is, it’s hard to help you out. I can explain what the code does in both cases, so you’re hopefully able to determine for yourself what is going wrong.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @WookGyeo and welcome to the forum!
Here’s your code formatted in a code block for readability:
It can help to be a bit more explicit about what you actually want. Since I don’t know what your goal is, it’s hard to help you out. I can explain what the code does in both cases, so you’re hopefully able to determine for yourself what is going wrong.
split()
to split up the input string. You can provide an argument tosplit
to tell Python where to split the string on, but if you d…