input tag

35 questions


2 answers
142 views
0
Python Input Value Integer Determination Function Basic Question

Hello, I'm a beginner who recently started learning Python.I want to create a function that returns True or False by writing def and then returns a different value according to the returned True/False...

2 years ago

1 answers
103 views
0
I wonder how to enter a string with a line in Python.

Python wants to receive string input via raw_input().However, the input string contains several lines.For example, the following is the example.string = raw_input(hex code : )Input string 01 | string1...


1 answers
80 views
0
How do I select all the letters there when I click input?

<input type=text id=userid name=userid value=Please enter the user ID />This is how we defined the input tag. Can't you make me select all the tests written here when I click on this box?

2 years ago

1 answers
144 views
0
cInsert real numbers into language strings

char practice[100];float value;int main(){value = 12.6332;practice[0] = value;printf(%f\n, practice[0]);} I put 12.6332 as the value value in the practice, but the result doesn't come out like that Wh...

2 years ago

1 answers
96 views
0
#Python - I have a question about entering variables!

An error occurs when entering a string value instead of an integer value in age=int(input())At this time, do you know the source code of the algorithm that uses conditional statements to output Not an...

2 years ago

1 answers
153 views
0
Hide password entry from Node.js to console

Hi, how are you?Use the readline-sync package (https://www.npmjs.com/package/readline-sync)Use the code below to enter a password in the console, but you want to hide it with *ten thousandThere is an ...


1 answers
91 views
0
Enter a string in the Python list

When the number of inputs of the string and the maximum number of files to be input in the first code is 20,000num = int(input())stra = [0]*20000Define it like this. for i in range(0,num,1) : stra[i] ...

2 years ago

1 answers
157 views
0
How to make it run immediately by pressing the command key, not by pressing the python enter key.

In the list, I want to write code that moves side by side according to the keyboard a and d keys, but when I execute it, I want to execute it right away when I press the key a and enter it, but what s...

2 years ago

1 answers
90 views
0
To read the entire file as a string rather than a list?

My file is LLKKKKKKKKMMMMMMMMNNNNNNNNNNNNNGGGGGGGGGHHHHHHHHHHHHHHHHHHHHEEEEEEEEIt looks like it. If you use the source code below and read it,['LLKKKKKKKKMMMMMMMMNNNNNNNNNNNNN\n', 'GGGGGGGGGHHHHHHHHHH...

2 years ago

1 answers
106 views
0
Questions about the code from Python 1 to N

Hello, I'm a newbie learning PythonI was studying by myself while buying a Python book, but I kept getting an error, so I'm going to askAs the title says, add 1 to N, but I copied it exactly the same ...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.