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
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
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")
# 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')
a = int(input("adad:")) if a%5 == 0: print("ok") else: print("error")
a=int(input("number: "))
if a % 5==0:
print("GOOD")
else:
print("error......")
number = float(input("enter your number:")) if number%5==0: print("divisible") else: print("error")
Submitting answers is currently unavailable.
Write a graphics program that has 2 fields to enter the number and 4 buttons for subtraction, multiplication and division. By selecting each button, the relevant calculations should be done on the 2 numbers entered and the result is displayed.
Write a function that receives a list (array) as a parameter, and deletes its duplicate items and returns the new (array) list
Write a function that returns the number of a character in a string. To this question you should not use ready -to -use functions ("hooshang", "O") #2
Write a class called Tarikh to receive a solar date in yyyy/mm/dd format and has methods to add and reduce (day, month and year) of date. Also have a method for printing the date on the output. ...
Write a library program that has the following features: 1- The user can register a new book 2- The user can delete recorded books 3- The user can change the specifications of the books including their name and subject ...
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.