Exercise:
1. Create a variablenamed carname and assign the value Volvo to it. Display thevariable.
2. Create a variablenamed x and assign the value 50 to it. Display the variable.
3. Display the sum of 5+ 10, using two variables: x and y. Display the sum.
4. Create a variablecalled z, assign x + y to it, and display the result. Display thevariable.
5. Remove the illegalcharacters in the variable name: 2my-first_name ="John". Display the variable.
6. Insert the correctsyntax to assign the same value to all three variables in one codeline. x y z “Orange”. Display the variables.
Paste screenshots of the script and the outcome of thescripts.
Paste the screenshots into PowerPoint and post the PowerPointfor credit.
Use the python sandbox for this assignment.
USE THE https://edube.org/sandbox
Exercise: 1. Create a variable named carname and assign the value Volvo to it. Display the variable. 2. Crea
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Exercise: 1. Create a variable named carname and assign the value Volvo to it. Display the variable. 2. Crea
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!