Module #2 Assignment
After running the following code:
print('Hello, world!')
String1 = 'Welcome to the Geeks World'
print("String with the use of Single Quotes: ")
print(String1)
I get the following result:
Hello, world!
String with the use of Single Quotes:
Welcome to the Geeks World
The print function will display anything inside the bracket to the resulting console, including the string that was put inside the single quotes
Since we store the string in a variable called String1
When we print the variable String1, the corresponding string will be printed out on the console
Comments
Post a Comment