Questions tagged [multiple-input]
74 questions
0
votes
1 answer
SQL: Apply and union table function recursively
I'm using SQL Server Management Studio 18.
I have a function that takes a table name as a parameter and outputs a table with info about other tables that have the same columns in it. Each table has a different amount of columns (that are also in…

jebk
- 1
- 2
0
votes
3 answers
How do I read multiple integers from a line of input in python 2?
I am new to python. I searched and found out how to do it in python 3:
v = [int(x) for x in input().split()]
but in python 2 I get the syntax error. I need it for foobar because I can't code in c++ nor python 3 there which is incredibly annoying.
0
votes
0 answers
How to create a form object with multiple input fields with the same name
I am learning rails and will be very grateful for an advice about creating a form object with multiple input fields with the same name. I am having errors with unpermitted params.
I've been searching information for several days, have tried a lot…

cafelatte.here
- 3
- 3
0
votes
1 answer
Import Multiple Csv file into mysql table
I want to upload multiple Csv file into my database but when I try to add more that 1 file it only upload first file and skip the other what should I do for this?
I know that I should use foreach but I don't know where to add it
here is the part…
user14387927
0
votes
2 answers
VueJS (InertiaJS) + Laravel 8 displaying multiple inputs errors
I'm trying to display my multiple input errors.
I have a multiple inputs form for several episodes. Each one have a title and a description.
I can display the other errors + the array error (1 ep min and 15 ep max)
But I can't loop inside my…

Lu Do
- 87
- 1
- 8
0
votes
1 answer
Multiple inputs from a user in a single line for pythong
With python you have input()
it takes one user input and you can assign it to a variable and then do what you please.
I have heard about the .split() method but don't know how to implement it into my code.
I want to create a function use def() so i…

Vervet Monkey
- 5
- 3
0
votes
1 answer
How do i take user input of an Arithmetic Expression like 5-8+7*4-8+9 or 1+5?
I am solving a problem for finding maximum value of an arithmetic expression. But I am having problem in taking input for the expression as no of characters are not fixed.
Input Format:
The only line of the input contains a string s of length 2n +…

Pulkit Jain
- 13
- 4
0
votes
2 answers
Multiple User-inputs, Default input, and String-to-Array Conversion
Hello all I would like to make a program that takes in two user inputs. The first is a scalar and the second is a provided list or array. The number would be a multiplier for which to scale the array and the output would be the multiplied…

Plums
- 25
- 3
0
votes
1 answer
Problem in coding with function in python: Base 2 & 10 integer palindrome
There was a question which asked to write a code, to get continuous integer input from user until a negative integer is input and for each input I should evaluate if it is a palindrome in both base 10 and 2. If yes then print 'Yes' else print…

Krish4
- 3
- 3
0
votes
1 answer
Image as a Repeating Element in Mathematica
I have been working with FormFunction in Mathematica and the function I created takes an image as an input. I am hoping to be able to input multiple images. I found this RepeatingElement example that works for Strings but returns an error when I…
0
votes
1 answer
Keras sequential model with multiple inputs, Tensorflow 1.9.0
I try creating a neural network, having two inputs of a particular size (here four) each and one output of the same size size (so also four). Unfortunately, I always get this error when running my code:
ValueError: Error when checking model input:…

Nico
- 13
- 4
0
votes
1 answer
Keras multiple inputs (one input binary, other sequence)
I use GloVe embeddings to convert texts into vectors to predict a binary sentiment. I want to consider a dummy variable in my NN as well (published in winter=0, summer=1).
I read some sources on multiple inputs but I get
ValueError: Unexpectedly…

Felix
- 313
- 1
- 3
- 22
0
votes
1 answer
ValueError: All input arrays (x) should have the same number of samples
My (Keras) model has two inputs of different shapes. The example on Keras website says it should work.
I defined the inputs as follows:
model1 = Model(inputs=[uii, vji], outputs=[decoded,decoded2, prod])
model1.summary()
Model:…

T D Nguyen
- 7,054
- 4
- 51
- 71
0
votes
1 answer
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
i tried to make a training model with multiple inputs and outputs.
This model worked very well with single input and output but i got an error message.
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
I guess the problem is that the…

You Hur
- 35
- 1
- 7
0
votes
1 answer
How to detect what barcode scanner (emulated as USB keyboard input) data came from
I'm building a Go application that runs in the terminal to gather input from two USB barcode scanners. How do I detect what barcode scanner the text (that's emulated as USB keyboard input) came from?
E.g. Barcode: 4009900522250 from Scanner 1 or…

Brad Turner
- 91
- 1
- 3
- 5