Question: 1 my_variable Hello, world! 2 3 #You may modify the lines of code above, but don't move them! 4 #When you Submit your code, we'll
1 my_variable "Hello, world!" 2 3 #You may modify the lines of code above, but don't move them! 4 #When you Submit your code, we'll change these lines to 5 #assign different values to the variables. 6 # 7 #The code above creates one variable. Right now, it's a 8 #string, but we might change it to be an integer, a float, or 9 #something else. 10 # 11 #Add a line of code below that will print the variable's value 12 #and type in a sentence like this: 13 # 14 #The value is Hello, world! and the type is 15 16 17 #Add your lines of code here! 18 19 20 21 #When running your code, you should see the message on line 22 #14 printed. When submitting, we'll test your code with other 23 #values and types. 24 25 26 ori - INST OY 17 #my_int1: 1 18 #my_int2: 5 19 #my_int3: 9 20 21 22 #Add your lines of code here! 23 24 25 26 #Next, these lines of code will modify the values of those 27 #three variables. You don't need to worry about how these 28 #work. We'll talk about it in the next couple chapters. 29 30 my_int1 += 5 31 my_int2 *= 3 32 my_int3 **- 2 33 34 #Now, copy and paste the same lines from above into the lines 35 #below. This way, your output will show you the new values of 36 #these variables. 37 38 39 #Add your lines of code here! 40 41 42 43 #If your code works correctly, then when run, it should print: 44 #my_int1: 1 45 #my_int2: 5 46 #my_int3: 9 47 #my inti: 6 48 #my_int2: 15 49 #my_int3: 81 50 # 51 #This should be the output when Running. When Submitting, 52 #we'll test your code with other values of these three 53 #variables. 54 55 56 1 my intl = 1 2 my_int2 = 5 3 my_int3 - 9 4 5 #You may modify the lines of code above, but don't move them! 6 #When you Submit your code, we'll change these lines to 7 #assign different values to the variables. 8 # 9 #The code above creates three variables: my_inti, my_int2, 10 #and my_int3. Each will always be an integer 11 # 12 #Now, add three lines of code that will print the values 13 #of those three variables with "my_int1:", "my_int2:", and 14 #"my_int3:" labeling the output. So, if the variables' values 15 #were 1, 5, and 9, your lines would print: 16 # 17 #my_int1: 1 18 #my_int2: 5 19 #my_int3: 9 20 21 22 #Add your lines of code here! 23 24 25 26 #Next, these lines of code will modify the values of those 27 #three variables. You don't need to worry about how these 28 #work. We'll talk about it in the next couple chapters. 29 30 my_intl += 5 31 my_int2 *= 3 32 my int3 **= 2 33 34 #Now, copy and paste the same lines from above into the lines 35 #below. This way, your output will show you the new values of 36 #these variables. 37 38 39 #Add your lines of code here! 40 41