Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Tooling
1 vote
1 replies
51 views

Pov: you have a website full of courses. How do you make it easily accessible to customers using a search bar. Including a navbar and a possible way of rearranging the page in such a way that it ...
0 votes
2 answers
46 views

I'm using Angular Material 21. The component's template has two <mat-form-field> elements, each one contains an <input> element. I would like to set a red border to the first input element ...
Advice
0 votes
6 replies
93 views

I am a beginner learning GCSE level python, but stuck on this book problem Here, the num1.txt file data is appended to the temp1list num1.txt file data: 10,20,30,40 20,30,40,50 30,40,50,60 40,50,60,70 ...
nova's user avatar
  • 1
0 votes
3 answers
165 views

I’m a B.Tech CSE 1st-year student and I’m learning C. I wrote a simple program to take two integers as input and print their sum. But when I run it, the program either skips the input or gives the ...
Dilip M's user avatar
Best practices
0 votes
7 replies
173 views

import random number_to_guess = random.randint(1, 10) while True: guess = input("Guess a number between 1 and 10: ") # This crashes if 'guess' is not a number if int(guess) == ...
1 vote
2 answers
89 views

I have this piece of code <input matInput type="number" [(ngModel)]="value" (ngModelChange)="onChange(true)" /> But I want to be able to enter only numbers, ...
1 vote
1 answer
101 views

If I want consistent scrolling behavior across platforms and different wheel resolutions, I need a way to make wheel input independent of the device’s physical precision. Different mice seem to have ...
0 votes
1 answer
55 views

I’m learning Python and trying to take two numbers as input from the user, then print their sum. My code: a = input("Enter first number: ") b = input("Enter second number: ") print(...
Advice
1 vote
0 replies
108 views

The prompt_toolkit module allows displaying output while simultaneously waiting for input without breaking the input line. Here's an example from the developer: import asyncio from prompt_toolkit....
0 votes
1 answer
82 views

Here is my code: print("Make a 20-digit code with numbers 0-9: |___|", end="\r", flush=True) addDigits = input("Make a 20-digit code with numbers 0-9: |") More ...
1 vote
1 answer
115 views

I have a basic input grabber which looks like this: Display *display = NULL; int main(const int argc, const char *argv[]) { display = XOpenDisplay(NULL); if (!display) { return 1; ...
0 votes
2 answers
131 views

What I'm doing is having the value of my <input> reflected in the value of the data attribute every time I click a button, to then copy the value with another button. Example: If I type "...
0 votes
0 answers
52 views

I'm encountering an inconsistent event behavior with the FileTrigger component from @react-aria/components in a React application. The issue is observed specifically in ​​Chrome on iOS (version 140)​​ ...
0 votes
0 answers
82 views

I’m seeing noticeable UI hitches only on Android when the keyboard opens/closes while using react-native-keyboard-controller. On iOS everything is smooth — inputs scroll correctly, no dropped frames. ...
3 votes
1 answer
61 views

How do you read multi-line input from clipboard at once? I tried using input but line change appears treated as Enter pressing. >> x=input(char.empty,'s'); 2020 2037 2054 2131 ans = ...
Argyll's user avatar
  • 10.1k

15 30 50 per page
1
2 3 4 5
...
2341

AltStyle によって変換されたページ (->オリジナル) /