In python how I read typed data on the same line and assign the variables

Asked

Viewed 13 times

1

I need to read 3 typed data on the same line and insert in three different variables used python.

  • a = "1 2 3" b, c, d = a.split(' ') print(b)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.