Practice 1. Let's make simple calculations using Python: 478+1036, 5369-1473, 15. 583, 145:27, 12,55 • 2,45 2. Calculate the following problems using Python: Dias has 500 KZT and Adilkhan has 1000 KZT. Print their total amount of money. 3. Write in the programming language: a) output of variable c b) input variables of integer type c) input variable f of real type d) output of variables a and b e) input variable w of integer type and variable x of real type 4. Make a program using a flowchart Navao начаю ввод : ABC, D, M, BEON, S,= 4A B S=C D : 2 a + 5 S, = M*N BLISON S=S, -(S2 + S;) Вывод: S Конец name = 5. What is the output of following code? "Akbota" print ("Hello, name, "!") print (“Nice to meet you!") a) Hello, Akbota! Nice to meet you! b) Hello Akbota! Nice to meet you! c) Hello Akbota! Nice to meet you! d) Hello, Akbota! Nice to meet you! e) hello, akbota! nice to meet you! 6. Fix the following code: x=3 y = 7 a = 2x - 4y print a 7. Calculate: a) 17//3 c) 10%3 b) 25 // 25 d) 15% 8. What is the output of the following code? a = 11 b=3 print (a // b + 10/2 + 2 ** 2) b) 10 c) 11 d) 12 e)13 9. Which of the following python code gives One plus one is equal to 2 output (select four answers)? a) print("One plus one is equal to ", 1 + 1) b) print(One plus one is equal to 2) c) print("One plus one is equal to 2") d) print(One plus one is equal to 2,1 e) print("One plus one is equal to", 1+3 % 2) f) print("One plus one is equal to"2) g) print("One plus one is equal to 2”, “1 + 1") h) print("One plus one is equal to", 15 % 4 - 7 % 3) a) 9
1)12.89
2)1500
3)c
4)не знаю
5)с
6)у=7
7)а
8)а=11
9)h