初心者向けのPythonのプログラミング問題です。入門編としてチャレンジしてください。Pythonの正答例は以下になります。
問題388
list1 = [1, 2, 3]
list2 = [4, 5, 6]
print(len(list1) == len(list2)) # True
問題389
string = “hello world”
new_string = string.replace(“world”, “Python”)
print(new_string) # “hello Python”
問題390
numbers = [1, 2, 3, 9, 5]
print(max(numbers)) # 9



コメント