Answer:
Consider the language defined by the following regular expression. (x*y | zy*)* 1. Does zyyxz belong to the language?
O. No, because zyy does not belong to x*y nor zy*
2. Does zyyzy belong to the language?
Yes, because both zy and zyy belong to zy*.
Explanation:
............................
Mark me brainliest^^
To rewrite something , but in your own words
Answer: the purpose of a web browser is to help answer and needed questions, and to get to sites.
Explanation:
Answer:
#read value of name
name=input("Enter name:")
#find and ptint the last character of the string
print("last character of string is:",name[-1])
Explanation:
Read a string from user and assign it to variable "name".Find its last character as "name[-1]". Since name is character array,so name[-1] will give the last character of the array.
Output:
Enter name:Smith
last character of string is: h