Skip to main content
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-2 votes
2 answers
1k views

I need to check if a string is a pangram string or not is my code correct?

public static class Inova { public static bool IsPangram(string str) { int compteur = 26; for (int i = 0; i <= str.Length; i++) { if (('A' <= str[i] ...
Nourelhouda's user avatar
0 votes
1 answer
1k views

Check whether a list of words make a Pangram

I need to create a 2D string array and input to hi, up to 10 words, than to check if those words are pangram or not. The program needs to stop receiving words if the words are pangram. for example: ...
user avatar
0 votes
2 answers
480 views

Pangram detection

beginner here-- Given a string, my code must detect whether or not it is a pangram. Return True if it is, False if not.It should ignore numbers and punctuation. When given "ABCD45EFGH,IJK,...
kdendon's user avatar
0 votes
1 answer
138 views

Why doesn't my Pangram solution output correctly?

The question is as follows: A pangram is a string that contains every letter of the alphabet. Given a sentence determine whether it is a pangram in the English alphabet. Ignore case. Return either ...
sanjna_007's user avatar
1 vote
5 answers
3k views

Pangram in C using functions

When I input The quick brown fox jumps over the lazy dog, the following program prints not a pangram. Yet, I expect s to be 26 and printf("pangram") to be executed. What am I doing wrong? #...
ACHAL KAMBOJ's user avatar
-1 votes
1 answer
80 views

Checking a sentence if it is a pangram by using a Jframe

I would like to create a case where the user needs the enter a sentence. The code should validate if the sentence is : a pangram not a complete pangram not a pangram In the text area: the system ...
Yama 's user avatar
0 votes
3 answers
1k views

How to detect wether or not a string is a pangram and return true or false

A pangram is a sentence that contains every single letter of the alphabet at least once. For example, the sentence "The quick brown fox jumps over the lazy dog" is a pangram, because it uses ...
Sam P's user avatar
  • 117
0 votes
3 answers
54 views

Correct way of removing the last object from an array within an If statement

I have written a script to check whether a sentence is a pangram or not. I am trying to remove the last element in an array. In order to create a gramatically correct sentence e.g. 'X, Y and Z.' I ...
j0hn209's user avatar
-1 votes
8 answers
371 views

Whats wrong with my python pangram function

Its a function that checks whether a string is a Pangram or not so if str1 == 'the quick brown fox jumps over the lazy dog' the function will return True since the string contains every letter in the ...
Harry's user avatar
  • 11
2 votes
3 answers
2k views

Using regular expression to check for pangram in a string error [duplicate]

Roy wanted to increase his typing speed for programming contests. His friend suggested that he type the sentence "The quick brown fox jumps over the lazy dog" repeatedly. This sentence is known as a ...
and1's user avatar
  • 327
-1 votes
2 answers
304 views

Checking Pangram in Python

I am trying to use .pop to check the pangram and have the following code but get the error "'str' object has no attribute 'pop'". I am new to programming. Please help. import string def ispangram(...
Barsha's user avatar
  • 1
0 votes
1 answer
93 views

pangram problem from exorcism.io, python track, why doesn't my solution work?

def is_pangram(sentence): alf = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'] sentence = sentence.lower() for x in alf: ...
Aegis's user avatar
  • 13
1 vote
1 answer
153 views

Errors in Python Pangram Checker on Exercism.io

I am trying to solve this problem on Exercism.io's Python track and am passing all tests except tests for mixed case and punctuation, only lower case, numbers, and underscores. There are 10 tests and ...
Jordan Williams's user avatar
-4 votes
12 answers
13k views

Writing a Python function to check whether a string is pangram or not

def pangram(s): check="" small=s.lower() combine=small.replace(" ","") for i in combine: if i in check: return False else: check+=i return ...
Malik Abdullah's user avatar
1 vote
5 answers
1k views

Pangram using hashset in java

i am trying to determine whether the string is pangram or not by using set in Java I've tried the below code.Now the output is showing as not pangram but it should be a pangram. Pls tell me whats ...
Shreya Birthare's user avatar

15 30 50 per page
Morty Proxy This is a proxified and sanitized view of the page, visit original site.