Question: Complete these tasks: Assign an integer to a variable. Assign a string to a variable. Assign a float to a variable. Use the print (
Complete these tasks:
Assign an integer to a variable.
Assign a string to a variable.
Assign a float to a variable.
Use the print function to print out the variable you assigned.
Use each of these operators:
Use each of these logical operators:
andornot
Use each conditional statement:
ifelifelse
Use a while loop.
Use a for loop.
Create a list and iterate through that list using a for loop to print each item out on a new line.
Create a tuple and iterate through it using a for loop to print each item out on a new line.
Define a function that returns a string variable.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
