Check -up segmentation over 5
Write a program that receives a number from the input and checks whether the number is segmented to 5.
Tips: The numeric is on 5 segments that remain the remaining 5 zero
Write a program that receives a number from the input and checks whether the number is segmented to 5.
Tips: The numeric is on 5 segments that remain the remaining 5 zero
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
a=int(input("a:")) print([a % 5 == 0 ])
number = int(input('number: ')) number = number % 5 if number==0: print('the number divisible 5') else: print(" thre number not divisible 5") # Numbers accepted by five sections, one being 0 or 5
# Check -up segmentation over 5
x=int(input("enter your number: "))
if x%5==0:
print("correct")
else:
print("incorrect")
a=int(input("enter number:")) if a%5==0: print("bakhsh pazir ast") elif a%5!=0: print("bakhsh pazir nist") else: print("add sefer ast")
number = int(input('number :'))
if number%5==0 :
print('true')
else:
print('false')
# Get input from the user num = int(input('please enter number :')) # Output segmentability and output print if num % 5 == 0 : print('\n True') else : print('\n False')
number = int(input('write number : ')) if number % 5 == 0: # Would be put in place instead of 5 print('true') else : print('false')
Submitting answers is currently unavailable.
We want to open a cow door, we don't know the safety password, but we have the following information: the second -digit safing password is the first number of the first digit, the last 4th of the person in one unit is smaller than their first digit ...
Write a function that receives a list (array) as a parameter, and deletes its duplicate items and returns the new (array) list
We have a list of different items along with their discount percentage and we want to know how much the final price of each product is after considering the discount. Write a program that gets the product price as below and the percentage of discount ...
Parking Management Program Write: When arriving, arrival time and car license plate number stored when exit, exit time save for the desired car at any moment (in the parking lot, exit) and other information ...
Write a program that receives a number and prints the first counters in the output
Write a class that receives rectangular length, width and height and calculates its area and volume using different methods
CSS code to select all the following elements at once and change their background color to yellow<div class="yellow" id="box"></div><div class="yellow"></div><div class="yellow mybox"></div>Footer call to action
You must be logged in to access this section.
Login/Sign up If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.