3)Напиши результат программы: 3.1
str = “ Привет, Python!”
print (str [0:14])
print (str [0])
print (str [0:2])
print (str [0:3])
print (str [-1])
print (str [::2])
print (str [::-1])
print (str [7:])
print (str [-1] *8)
print (str + “Я учусь в 6 классе!”)


3.2
print (my_list)
print (my_list [0])
print (my_list [1:3])
print (my_list [2:])
print (second_list*2)
print (my_list +second_list)
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.