1) Create two variables (v1, v2). First and second ones should be your name---surname (string) and faculty number (integer), respectively. a) Combine v1 and v2 by using “+" operator and obtain new...


Create two variables (v1, v2). First and second ones should be your name---surname (string) and faculty number (integer), respectively.
a) Combine v1 and v2 by using “+” operator and obtain new variable (v3) which should be string.
b) Calculate length of the v3. Use print command to indicate the result.
c) Find first, third and last elements of v3. Use print command to indicate the results.
d) Print v1, length of v3 times with loop. You are free to choose loop type.


1) Create two variables (v1, v2). First and second ones should be your name---surname (string) and<br>faculty number (integer), respectively.<br>a) Combine v1 and v2 by using “+

Extracted text: 1) Create two variables (v1, v2). First and second ones should be your name---surname (string) and faculty number (integer), respectively. a) Combine v1 and v2 by using “+" operator and obtain new variable (v3) which should be string. b) Calculate length of the v3. Use print command to indicate the result. c) Find first, third and last elements of v3. Use print command to indicate the results. d) Print v1, length of v3 times with loop. You are free to choose loop type.

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here