71.2k views
5 votes
Question # 1 Multiple Select Which of the following shows the assignment of a string to a variable? Select 3 options. answer = "23" answer = (23) answer = '23' answer 23 answer = input("How old are you?") ​

User Pbearne
by
3.0k points

2 Answers

9 votes

Answer:

answer = input("How old are you?")

Step-by-step explanation:

Answer is a variable The Input function takes a string

User Denis Voloshin
by
3.3k points
6 votes

Answer:

  • answer = input("How old are you? ")
  • answer = '23'
  • answer = "23"

Explanation: Correct on Edg 2020/2021.

User Vharron
by
2.6k points