Computer Science, asked by rafaelmanjooran, 8 months ago

please answer very urgent Write the output of the following Statement a) >>>name=”Welcome” >>>print(name[3]) b) >>>name=”Welcome” >>>print(name[4:7]) c) b = "Hello, World!" print(b[-5:-2]

Answers

Answered by samya0001
1

Explanation:

raw_input() asks the user for a string of data and simply returns the string, the string data ended with a newline). It can also take an argument, which is displayed as a prompt before the user enters the data.

Answered by itsmetryeverything
0

The basic element of object oriented Programming in Java is a class. Class is used to build an Application, to define an applet. A class defines the shape and behavior of an object. In Java, programmers are allowed to define their own classes or can borrow the class definition from outside (such as from built in classes,

Similar questions