I just saw this behavior in c ++:
cout << "\ nEnter two numbers:";
cin >> num >> num2;
In this way it is not necessary to do:
cout << "\ nEnter a number:";
cin >> num;
cout << "\ nEnter another number:";
cin >> num2;
So with that, the following question was generated:
How can I imitate this behavior in python3?
I've been trying to support myself with functions like range, but I still don't get the same behavior that happened in c ++
Does anyone know how I can achieve it?
Thank you