Define the basic class with the name of the Make_Sound method. Then create DOG and CAT classes to inherit the Animal and each animal has its own sound.
Write a function that receives a string and converts Persian numbers into English numbers
Write a function that receives a numeric and if that number was the first number True and otherwise False returned
You will be given the score of a team that has won the Premier League at the entrance and you are printing the team's scores along with the number of wins this season at the output. This team, 2 games ...
Write a function that receives two numbers with one operator (+ - / *) and performs the relevant calculation and returns the result example: CAL (2, '+', 6) #8 CAL (5, ' -' - ' - 1) #4 Cal (' 6, ' /', 2) #3 Cal (8, ' *', 2) #16
Write a program that receives a mobile number from the user and specifies whether this is an Iranian mobile number.
Write a program that receives a sentence from the input and prints the longest and shortest word available in the sentence in the output
Write a function that receives a string and returns the number of letters: To solve this question, you should not use ready-made functions for example: get_len ('code-bezan.ir') # 13
Write a program that receives a one -digit number from the input and finds the coefficient of smaller than 100 of those numbers and prints in the output
Write a program that receives a sentence and reversed each of the words and re -print the sentence without changing in the order of words. Input: Hello Amir ... Olleh Rima ...
Write a program that receives a text from the user and prints the upper case in the output. Example: Input: Hooshang 3
Write a program that receives a number and prints the following figure according to the number received: Number: 55555 4444 333 2 2 1
Write a program that receives two integers M and n from the user and only with the plural operator to get m number n
Write a program that receives the size of a square side and calculates the square environment and prints the square environment according to the square environment formula.
Write a program that receives some as hot from the user and converts to a kilogram example: Input = 3500utput = 3.5
Write a program where the user can enter the number of one -digit number and then all the numbers that can print the construction with the entered digits for example: Input: 1 input: 2 input: End 12 21 11 22