Answer:
Following are the program in the Python Programming Language:
def check(num): #define function
if(num.isdigit()): #set if statement
return "yes"; #return yes if condition is true
else:
return "no";# return no if condition is false
string=input("Enter the numbers 0-9: ") #get input from the user
print(check(string)) #print and call the function
Output:
Enter the numbers 0-9: 1995
yes
Enter the numbers 0-9: 42,000
no
Explanation:
Here, we define a function "check()" and pass an argument in its parameter "num" inside the function.
- we set if-else conditional statement and check the value stored in the variable "num" is the digit by using built in function "isdigit()" then return "yes".
- Then, otherwise it return "no".
Finally, we get the input from the user in the variable "string" then, we call the function through "print()" function.
Answer:
Subjects with a lot of <u>Visuals </u>make focusing easier
Explanation:
Visuals contents make a subject more focusing and interesting for the students. Students can learn that courses easily that have more pictorial content. It is the famous quote that "A picture is better than thousand words to understand".
True; you have treat others the way you want to be treated. It is the golden rule for meeting anyone, whether it's online or in real life. If you were being mean to someone online, would you want someone to be mean to you the same way you were mean to that person? So, the answer is true.
Answer:
i am 100% sure it is (B)
Explanation:
To delete offensive or irrelevant posts
Answer:
The python programming language is interesting for non-programmers as it is easy to learn the syntax. It has extensive libraries that can support every action of the non-programmer and programmer.
Explanation:
Python as a programming language has proved to be the easiest to learn and use. It is also powerful and versatile, making it the best choice for all beginners and experts. The readability of the Python language also makes it a great first programming language to learn. It enables one to think like a programmer and not waste time over any confusing syntax. Another great advantage possessed by the Python language is that it is easy to download and install for use.