تمرین های پایتون (Python)
Programming exercises پایتون (Python)Latest exercises پایتون (Python)
Write a program that receives a mobile number from the user, then: If it is +98 or 98, it will convert it to 0. If it is used in the number, it will delete it. Finally for the mobile number user ...
Design an appointment management system for a clinic. This system must have the following abilities: Patient Registration: Every patient must have a unique ID, name, birth date and contact number. Turn Register: Every ...
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 program that receives a number from the input and increases the number 2 and prints in the output. This trend continues until the number 0 is not arrived
Write a program that receives the amount of water consumption of the entire building and the number of residents of each unit. Then, by dividing the total consumption into the total number of residents, calculate the share of each unit and display the amount of consumption along with the final cost ...
Write a program that receives a string from the entrance and counts and displayed the upper and lowercase letters.
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 program that receives 2 users and calculates the Fibonacci series (between those two) and prints in the output
Write a function that receives a numeric and if that number was the first number True and otherwise False returned
Write a function to get a string and return the length of the string Tip: In this exercise you should not use ready -made functions like Len in Python
Write a robot to perform mathematical operations. When the Calc 5+3 user sends back, the robot returns the result (8).
Write a program that receives a file containing different names and prints the number of repetitions of each name in the output example: If the name file is as follows: Note »The first line is the number of names 5 Sarahamidali sara sara ...
Design a page that has a custom text in the middle of the page (the background color is white and black text color) then design a button to change the page to the night mode when the user clicks it ...
Write a function that receives a string and converts Persian numbers into English numbers
Write a program that receives a number and from that number to 0 countdown is required between each number of 1 second pauses
Write a program that gets the number of seconds from the user and converts to hours, minutes and seconds. - Input Sample: 5648 - Output Sample: 01: 34: 08