Here Is My Code:
print "Welcome to Currency Converter By Fend Artz"
print "your options are:"
print " "
print "1) GDP -> USD"
print "2) GDP -> Euro"
USD = int(raw_input(''))
if USD == 1:
choice = USDchoice
elif USD == 2:
choice = EUROchoice
else:
print ("You have to put a number ...
Write a program or function that transforms an input string into Zalgo text.
For example, for an input string Zalgo, a possible output might look like:
Z̗̄̀ȧ̛̛̭̣̖̇̀̚l̡̯̮̠̗̩̩̥̭̋̒̄̉̏̂̍̄̌ģ̨̭̭̪̯̫̒̇̌̂o̢̟̬̪̬̙̝̫̍̈̓̅̉̇
Zalgoification specs
Each letter (upper or lower case) must be zalgoified, ...
Presently a comment discussion has to go on for some time before the system encourages commentators continue it in a chat room.
But feature-requests to allow this before that heuristic makes the offer; as well as to preserve and associate that chat with the post in question, have been consistent...
Good catch. I've updated this to char message[7] and ran the software again. My reads are still throwing the same error. Thanks for the code review! — Craig53 secs ago
@Mat'sMug "Another C#6.0 feature you can take advantage of is the ?. null-condition check to remove the null-check in Mitarbeiter sort. Aufzeichnungen?.Sort will only call .Sort if Aufzeichnungen is not null."
Most of these now work. My comment below has the following markdown source:
On [main], you are expected to write proper English (as advertised on [english.se]), but here on [meta.se] it's more important to have freehand circles, so please [edit] your post, otherwise I'll have to flag you (see...
On [main], you are expected to write proper English (as advertised on English Language & Usage), but here on Meta Stack Exchange it's more important to have freehand circles, so please edit your post, otherwise I'll have to flag you (see the FAQ). If you're unsure how to use your keyboard, Super User is the right place to ask. There's no Q&A site about unicorns yet, but you can suggest one on Area 51. — balpha ♦Jun 6 '11 at 11:48
@Simon Forsberg Thanks for the link I actually didn't know that Code Review even required the code to work. I thought of a plattform to discuss more subjective matters which don't belong on SO according to the FAQ. — norritt35 secs ago
Currently, the code will generate a range of natural numbers from 1 to N and store it in a list. Then the program will iterate through that list, marking each multiple of a prime as 0 and storing each prime in a secondary list.
This is a translation of a TI-Basic program, shown here, so the ...
Does it work? If not then post some error messages. We're not really here to code review on this site, there's a sister site: codereview.stackexchange.com for that kinda thing. — Kev46 secs ago
@MFonner well the question about whether you can use a switch statement like that is (I think) on-topic. The "did I do anything wrong" is definitely more for code review, as long as the code is working. I'll check your question over there because I do have suggestions actually. — briantist35 secs ago
I'm writing an AD Termination script for work. I'm new to PowerShell and was wondering if this is okay to do:
# Switch statement to start here
$switchTitle = "Terminate User"
$confirmMessage = "Are you sure that " + $fullName + " is the user that you want to terminate?"
$yes = New-Object System...
The way you're doing the prompt is overly complicated. Consider this:
[CmdletBinding(SupportsShouldProcess=$true)]
param()
$switchTitle = "Terminate User"
$confirmMessage = "Are you sure that " + $fullName + " is the user that you want to terminate?"
if ($PSCmdlet.ShouldContinue($confirmMessag...
Hello friends I hope you all having happy coding result
https://java1ksu.files.wordpress.com/2015/09/project-assignment-1v41.pdf
I have a project and I already wrote my code for this program but my output result arrange in a different way it's not like the T. output //see the link above
this ...
Your approach is not incorrect. It will get the job done (albeit, slower). If you want to improve your approach, keep reading. But first a few points on your code:
Points on Your code
intArrayHolder seems a bit wordy to me. I believe intArray or even array would serve your purpose, without sac...
Initially, I wrote the last half of my answer rather hurriedly. Fixed the code there.
BTW has anyone ever done a a lengthy mathematical analysis of the behaviour of the nextInt() function?
I've been trying to learn Haskell on and off for a couple years. I had a project for building a parallel web scraper, and I figured I'd try to use Haskell for it. Here's the part used to schedule tasks: basically, it opens a Chan that can be used to send jobs, which is simply an IO action with th...
go and google how to make your social media secure.... do you have facebook? I would take the rest of the day and perhaps tomorrow to make sure everything you participate in is secure and everything that is supposed to be private, IS.
Apparently I once applied for a job that required Python experience, among other things. I just got a response, asking if I do have Python experience. Since I don't, should I respond with something, or just ignore it? I'm not sure if saying "I can learn it on the job" would suffice.
Reviewing this code https://raw.githubusercontent.com/damianh/Obsolete-Cedar/master/src/Cedar.GetEventStore/Handlers/ResolvedEventDispatcher.cs there is a SimpleQueue class to decouple the producer from consumer:
private class SimpleQueue
{
private readonly Func<ResolvedEvent, CancellationTo...
Why is it that the netherlands are always "orange", like it's their national colour, yet there's nothing official about the netherlands that makes any orange sense.... oh..... interesting, there's a real reason....
Orange (Provençal Occitan: Aurenja in classical norm or Aurenjo in Mistralian norm) is a commune in the Vaucluse department in the Provence-Alpes-Côte d'Azur region in southeastern France. It is located about 21 kilometres (13 miles) north of Avignon. It has a primarily agricultural economy.
== History ==
Roman Orange was founded in 35 BC by veterans of the Second legion as Arausio (after the local Celtic water god), or Colonia Julia Firma Secundanorum Arausio in full, "the Julian colony of Arausio established by the soldiers of the second legion." The name was originally unrelated to that of...
The House of Orange-Nassau (in Dutch: Huis van Oranje-Nassau, pronounced [ˈɦœy̯s fɑn oːˈrɑɲə ˈnɑsʌu̯]), a branch of the European House of Nassau, has played a central role in the politics and government of the Netherlands — and at times in Europe — especially since William I of Orange (also known as "William the Silent" and "Father of the Fatherland") organized the Dutch revolt against Spanish rule, which after the Eighty Years' War led to an independent Dutch state.
Several members of the house served during this war and after as governor or stadtholder (Dutch stadhouder) during the Dutch Republic...
No, I don't think I am off - orange is the center of what became the city of orange, then the burrough, and principality.......
from there, the prince of orange came.... and so on.
> The dynasty was established as a result of the marriage of Henry III of Nassau-Breda from Germany and Claudia of Châlon-Orange from French Burgundy in 1515.
Shocking to believe that the Dutch Orange fetish is the result of some romans that retired in France, and could not pronounce the place.....
Yeah, It's like there are 4 inbred families in the whole world..... European, African, Asian, and Native ..... I hear it all the time - She's of European descent, He's an Asian, Dude's a native, etc.
I'm like really confused, being an African European.... in North America
Here's a sample that's close to what I'm trying to do:
void Main()
{
var settings = new JsonSerializerSettings
{
PreserveReferencesHandling = PreserveReferencesHandling.None,
ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
};
var json = "{ \"$ref\": \"THIS ...
I'm trying to write a HTTP Request library for practice with Sockets and C++ in general. I created a seperate function to setup the struct needed to Connect() however it is now breaking and I cant seem to figure out why even with a debugger. Also looking for any code optimization I can be doing b...
Your approach is not incorrect. It will get the job done (albeit, slower). If you want to improve your approach, keep reading. But first a few points on your code:
Points on Your code
intArrayHolder seems a bit wordy to me. I believe intArray or even array would serve your purpose, without sac...