• Register

Recent questions tagged uppercase

0 votes
1 answer 29 views
I need a program that will print next to last word of a sentence
asked Sep 22, 2020 Daniel Anderson 4k points
0 votes
1 answer 17 views
I want a program that will help me to copy one file to another file in Java.
asked Sep 22, 2020 Daniel Anderson 4k points
0 votes
1 answer 94 views
I am new to python programming. I was trying to compare two strings, I wrote a code to compare: YourStr = "one" MyStr = "one" if YourStr = MyStr print("Two strings are same") else print("Two strings are not same") But it gives an error: File "main.py", line 4 if YourStr = MyStr ^ SyntaxError: invalid syntax Whats wrong in my code and how can I compare two string but it is not case sensitive?
asked Mar 16, 2020 LizzyM 6.1k points
0 votes
1 answer 25 views
I am new to python programming I was trying to check if a letter is uppercase in python. I wrote some code to check this statement : import string def UpperCase(s_str): for x in s_str: if x not in string.UpeerCase: return False return True But I can not get the actual ... last): File "<stdin>", line 1, in <module> NameError: name 'LoWWE' is not defined Can anyone help me to solve this thing?
asked Mar 14, 2020 LizzyM 6.1k points
To see more, click for the full list of questions or popular tags.