Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help please Help hw1py-AIST2120-Visual Studio Code 10 # 1, convert the following variable to a float and print() the result. 11 var one -18e 13

Help please image text in transcribed
Help hw1py-AIST2120-Visual Studio Code 10 # 1, convert the following variable to a float and print() the result. 11 var one -18e 13 # 2a. convert the following variable to hexadecimal and print the result. 15 var_two a 296 16 17 18 # 2b. Convert the following variable to an integer and print the result 19 var two b exef 22 3. Convert the following variables to an integer and print the result 23 var_three_a - 5.969 24 var three b 3.08101 27 28 # 4. Using a slice operation, print only the fourth word in the following string (no spaces var_four 'this is only kind of a test' 31 # S. Using a slice operation, print every other character in the following 32 # string starting with the first character. 33 varfive 'abcdefghijklmnopgrstumoyz 36 # 6. create a tuple of five elements of different data types, assign it to a 37 variable and print the tuple. 48 # 7. Use a built-in string method to "replace. all of the z characters 41 with a string of 5 in the following variable and pring the result. 42 var_seven fizz buzz

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

Students also viewed these Databases questions