Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Codecs Academy: How 45M Users Learn Python Coding, Lecture notes of Advanced Computer Programming

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

  • How does the number of threads affect the performance of InFix's code repair system?
  • What are the most common types of input-related bugs encountered by Codecademy users?
  • What are the different techniques used by InFix to solve input-error scenarios?
  • How does InFix, a code repair system, evaluate the effectiveness and quality of its repairs?
  • What is the role of Codecademy's Python Tutor interpreter in teaching users to code?

Typology: Lecture notes

2021/2022

Uploaded on 09/27/2022

daryth
daryth 🇺🇸

4.5

(2)

232 documents

1 / 62

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e

Partial preview of the text

Download Codecs Academy: How 45M Users Learn Python Coding and more Lecture notes Advanced Computer Programming in PDF only on Docsity!

How do Codecademy's

45 million users

learn to code?

The online Python Tutor interpreter

currently has 60,000 users per month

input()

u = 42

x = float(input())

print(x * math.e / 2)

u = 42 26,

x = float(input())

print(x * math.e / 2)

u = 42 26,

x = float(input())

print(x * math.e / 2)

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'

math.py/

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)

abcd

*d%#

#%d*%

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: '#'

abcd

*d%#

#%d*%

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: '#'

abcd

*d%#

abcd