35 questions
I'm a C++ beginner. Hello.Not the same format as ifstream in (C:\~~~~~\Example.txt).Stored as string A = Example.txt, I wonder if there is a way to write in the same format as ifstream in (C:\~~~~\A)....
You want to receive multiple inputs as a prompt and save them in a variable.vara,b = prompt (Enter two numbers: ).split( );When I wrote it, it only went into b.Python used to have good variables even ...
Press any key to exit...You want to paste a code that ends after you receive a keyboard input (whatever) at the end of the program.In C, we could have gotten a character type through scanfIf I use inp...
input type=submitWhen writing code with , you can see that the effects in the <input type=submit> box change when clicked. You can click it, but do you know how to keep the effect unchanged?It's...
Hello, it's nothing but a = input()print (a[::-1])For example, how are you is uoyera woh.I'd like to make each spelling upside down, not backwards, but backwards based on spacing.If it's how are you, ...
( elif num == 2: ^SyntaxError: invalid syntax) It pops up like this and there is a red mark on this part, so how do I solve it?money = 0 while True: num = int (input (select the menu :)) if num == 1:...
Picture shows a 12chances.Enter a letter:a It appears like this, but the values of a do not appear on the screen 12chances.Enter a letter:a How do I code to show only like this on the screen?
import datetimeimport sysstart_time = datetime.datetime.now()def bitbox (): print (Hitting the drum)i = input (Did you call Siri?[Yes/No])ifi == Yes: print (I'm listening...) input (Enter=>)Ifi == ...
a, b = map(int, input().strip().split(' '))print(a//b,a%b)I want to divide a by b, divide a by b, and I want to print the rest, but why can't I print it out with the code above?
b=input(input)if int(b)==int: print(Just write letters,)elif str(b)==str: print (Just write the numbers)This prevents the print value from running when you write down numbers, and errors occur when yo...
« | - 3 - | » |
© 2024 OneMinuteCode. All rights reserved.