So I'm a total beginner when it comes to Python and the "not" operator is kinda confusing me. So i was watching a BroCode video and he wrote this code: name = N
I had created a program that counts the amount of vowels in a provided string. It counts the vowels correctly and repeats when the user provides a 'y' or 'Y'. H
I had created a program that counts the amount of vowels in a provided string. It counts the vowels correctly and repeats when the user provides a 'y' or 'Y'. H
I need help with an experimental python bot that allows one to be afk and grind discord bots. (And I'm new to programming so please don't judge). Im trying to g
My question is simple. What method can I use to tell my program that a button is pressed? I'm trying some codelines but its not really working (I tryed with isP
From this trivial example: $ x="ls output: " $ ls | while read line; do x="$x $line"; echo $x; done ls output: a ls output: a b ls output: a b c ls output: a b
Here is the program I wrote: int main(void) { int d1, d2; d1 = 48; while (d1 < 58) { d2 = d1 + 1; while (d2 < 58)
I'm new to phyton and I looked everywhere, but all that I find is the .split() option for multiple inputs but I don't want them together, I want one in each sep
I am having problems with understanding why code is not working. My objective is to keep reading the input of the user until the user finally enters "5", to whi
Every time my output prints out the last number given through the Scanner as the largest number. This program needs to be modified in a way, that it scans throu
I have an assignment for class and I have to make a program that takes an existing file and converts all the letters to uppercase. Below is part of the code (sp
I've written a function trailing_zeroes(int n) that returns the number of the trailing zeroes in the binary representation of a number. Example: 4 in binary is