47 questions
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 == ...
if (process.platform == 'win32'){ constos: string = I'm win32.} } else if (process.platform == 'linux'){ constos: string = I'm Linux.} } else { Constos: string = Unknowns Target.}console.log(os)I want...
def fact(n): if <= 1: #If the inequality does not go in, a compilation error will be left. return 1 else: return n * fact(n-1)print(fact(4))As I wrote in the comment above, there is a compilation...
# # registration number=rnrn = int (input (Please enter the resident registration number minus (-))year = int(rn/100000000000)month = int(rn/1000000000) - year*100day = int(rn/10000000) - (int(rn/1000...
int i, min = 0; for (i = 0; i < 10; i++) { cin >> number; if (i == 0) // Condition A min = number; else if (min > number) // Condition B min = number; } cout << min;Hello, the...
It is the condition of the if statement to check leap year.if[ ((${year}%4 -eq 0 ) && (${year}%100 -ne 0 )) || (${year}%400 -eq 0) ]then ... fiThe conditions I put in are, Once every four year...
If the illumination value is greater than or equal to a certain illumination value, rotate 1440 degrees counterclockwiseI'm working on a program that rotates 1440 degrees clockwise if it's small If yo...
#include <stdio.h>void main(){ int num1; scanf_s(%d, &num1); if (0 < num1 < 45) printf(a); else if (90 < num1 < 160) printf(b); else printf (None;}What's wrong is only a and n...
How should the condition extraction be written in a program that takes two numbers and outputs both odd values between them? I'm trying to study alone, but I'm not sure, so I post a question.
#test.pyNOW_TIME = 23:35:00#Discord.pyimport discordfrom discord.ext import commandsfrom discord.utils import getimport datetimeimport asyncioimport timeimport load_json_variable as variableimport tes...
« | - 4 - | » |
© 2024 OneMinuteCode. All rights reserved.