Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 876 Bytes

File metadata and controls

6 lines (6 loc) · 876 Bytes

Python Challenges:


Try to solve all of them 👍

Q.1: Write a python program which accept a string from the user during the execution and check if the string contain "iraq" then it will print "Yes". Otherwise; it will print "No"?

Q.2: Write a python program which accept a word from the user during the execution and check if the first letter of the string is 'a' and the last letter is 'z' then it will print "Ok". Otherwise; it will print "Not ok"?

Q.3: Write a python a program which convert the given string "python" to "PYTHON" and print it?

Q.4: Write a python program which concatenate the given two strings: s1 = "Computer" and s2 = "Science" to be "ComputerScience" and print it?.