stuyai

Practice

Login

Python Basics

Python Crash Course Lesson 1

Problem: Write and invoke a function, nameOrganizer, that takes in your first name and last name, outputting your full name.

Solutions:

Problem: Write a function and its invocation that divides two numbers and prints the difference between its quotient and remainder

Solutions:

Problem: Write a faulty Python program that defines variable foo = 12 and invokes print(foo). However, the print invocation should result in an error, stating that foo is undefined

Solutions: