Variables Flashcards
1
Q
How do you insert a variable into a sentance?
A
{}
name_sentence= “Your name is {} isn\’t it?” .format(name)
Print(name_sentence)
2
Q
How would you assign a variable name to a user input
A
variable_name= input(“user input questions?)