Computer Science Homework Help

Computer Science Homework Help. cs, 2 questions about regular languages

complete 2 questions. do not look for answes online.

1.Use the Python regular expression library re to create a Python function that decides whether its text input is a valid Python function header with a single parameter that does not take a default value. For example, def f(n) : is one such valid header, but def (f:)=n is not.

2. ∑ = {a,b}, L = {w : #a(w) % 2 = 0 and #b(w) % 3 = 0}. Use JFLAP to construct an FSM that recognizes L.

Computer Science Homework Help

 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"