Strings. Create a function my_function_01() that will print a sentence with given variables on first line :
Word_1 = “home”
Word_2 = “best”
Word_3 = “or”
And sentence’s length on second line
Numbers. Create a function my_function_02() that will print lowest root on first line and highest root on second line of quadratic equation for following parameters:
A = 5, B = - 70, C = 200
Numbers. Create a function my_function_03() that will print 2 roots of quadratic equation for following parameters:
A = 0.05, B = 0.197, C = -0.012
Lists. Create a function my_function_04() that will print:
on the first line a list containing 5 random numbers,
on the second line maximum element of this list,
on the third line difference between max and min numbers
Dictionary. Create a function my_function_05() that will print
on the first line a pet dictionary of properties, containing name, age, type, and sound of a pet
On the second line updated dict with increased age and favorite_meal information
While loop. Create a function my_function_06() that will print sum of all numbers that lesser than 10000 and can be divided by 123 with remainder 45
For loop.Create a function my_function_07() which iterates the integers from 1 to 60. For multiples of 4 print "Hip" instead of the number and for the multiples of 6 print "Hop". For numbers which are multiples of both 4 and 6 print "HipHop". (fizzbuzz )
Files. Create a function my_function_08() that will write to my_file.txt a capital letter to each line.
| Гарантия на работу | 1 год |
| Средний балл | 4.54 |
| Стоимость | Назначаете сами |
| Эксперт | Выбираете сами |
| Уникальность работы | от 70% |