Questions LLC
Login
or
Sign Up
Ask a New Question
Python Programming
Page 4
Questions (156)
import random
# given an input list of cards, shuffle them and return a new shuffled list def shuffle(deck): numCards = len(deck)
11 answers
asked anonymously
12 views
What error will occur if this is the first line of a program?
A. NameError B. ZeroDivisionError C. TypeError D. SyntaxError
1 answer
asked anonymously
12 views
What problem is likely to occur when this line of code is used?
num1 = input ("Enter the first number: ") A. The variable name is
1 answer
asked anonymously
10 views
Which of the following variable names will NOT cause an error in python?
A. first name B. 1stname C. @1name D. first_name
1 answer
asked anonymously
5 views
Which of these lines of code will generate a random number between 1 and 50?
input(“1-50”) print(“1-50”) import random
1 answer
asked anonymously
5 views
In this unit, you developed your skills at coding in Python. In this activity, you will put those skills to work by creating a
1 answer
asked anonymously
6 views
Pages
1
2
3
4
Parent Categories (17)
Code/Programming
Coding
Coding/Programming
Computer Programming
Computer Science
Computer Science/Programming
Programming
Programming and Software Development
Programming Concepts
Programming Language
Programming Languages
Programming Languages and Tools
Programming or Computer Science
Programming Syntax
Programming/Code Syntax
Random Number Generation
Web Development