






















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Insights into how Codecademy's 45 million users learn to code using Python through interactive tutorials. code snippets, error messages, and discussions on various error handling techniques. It also presents statistics on the number of input-related bugs and the success rate of InFix, a code repair system.
What you will learn
Typology: Lecture notes
1 / 62
This page cannot be seen from the preview
Don't miss anything!
●
ValueError: could not convert string to float: '26,2'
ValueError: could not convert string to float: '26,2'
ValueError: could not convert string to float: '$1.50'
ValueError: could not convert string to float: 'math.py/6'
input_a = input() input_b = input() input_c = input() c_array = [] dictionary = {}
for i in range(len(input_a)): dictionary[input_a[i]] = input_b[i] for j in range(len(input_c)): c_array += dictionary[input_c[j]]
print(c_array)
● input_b input_a
● input_c input_a
input_a = input() input_b = input() input_c = input() c_array = [] dictionary = {}
for i in range(len(input_a)): dictionary[input_a[i]] = input_b[i] for j in range(len(input_c)): c_array += dictionary[input_c[j]]
print(c_array)
input_a = input() input_b = input() input_c = input() c_array = [] dictionary = {}
for i in range(len(input_a)): dictionary[input_a[i]] = input_b[i] for j in range(len(input_c)): c_array += dictionary[input_c[j]]
print(c_array)
KeyError: '#'
input_a = input() input_b = input() input_c = input() c_array = [] dictionary = {}
for i in range(len(input_a)): dictionary[input_a[i]] = input_b[i] for j in range(len(input_c)): c_array += dictionary[input_c[j]]
print(c_array)
KeyError: '#'