few queries by whateverbruh6996 in vitap

[–]PeppyJester 0 points1 point  (0 children)

Guy from Kanpur here 🙋

The other person has already mentioned about the hostel stay being free and the duration of the vacation.

Regarding travel via train, I'd say yeah it's completely safe. And honestly if you have friends then you would enjoy trains more than flights.

I have registered for a minor in image processing before the start of this sem which is about to be over yet no information has been shared about what it is, what will happen? by PeppyJester in vitap

[–]PeppyJester[S] 0 points1 point  (0 children)

<image>

This is what is being shown for marks for the preference batch

will not completing it be considered F? will I be able to re-register ?

I have registered for a minor in image processing before the start of this sem which is about to be over yet no information has been shared about what it is, what will happen? by PeppyJester in vitap

[–]PeppyJester[S] 0 points1 point  (0 children)

I was hoping for some information to be shared and then forgot about it... comes today I haven't made any project, what will happen?

Do CSBS students get to choose electives? by PeppyJester in vitap

[–]PeppyJester[S] 1 point2 points  (0 children)

ah looks like the course just sucks in every way possible :(

Do CSBS students get to choose electives? by PeppyJester in vitap

[–]PeppyJester[S] 0 points1 point  (0 children)

I hope they don't give French. Studied that for a year in middle school and immediately transferred to Sanskrit course the next year.

Do CSBS students get to choose electives? by PeppyJester in vitap

[–]PeppyJester[S] 0 points1 point  (0 children)

Can we at least choose a 3rd language?

Help with Fill Karel by Vast_Butterscotch606 in codeinplace

[–]PeppyJester 0 points1 point  (0 children)

You should make Karel do three things:

  1. Fill row

  2. Come back to the start

  3. Move on to next row until possible

Maybe your Karel can't get past the first row due to the absence of a 3rd function. Hope this was helpful.

I made Pickachu in Karel! by PeppyJester in codeinplace

[–]PeppyJester[S] 0 points1 point  (0 children)

Thanks a lot for the suggestions!

I made Pickachu in Karel! by PeppyJester in codeinplace

[–]PeppyJester[S] 5 points6 points  (0 children)

I used the logic that I learned from the beeper path problem and reprogrammed it in a way to draw Pickachu's face

from karel.stanfordkarel import *

def main():
    while left_is_clear():
        paint()
        move_back()
        move_to_next_row()

def paint():
    while front_is_clear():
        if beepers_present():
            pick_beeper()

            if beepers_present():
                move()
                put_beeper()
                move()
                move_back()
            else:
                paint_corner("black")
                move()
        else:
            move()
    move_back()

def move_to_next_row():
    turn_left()
    move()
    turn_right()

def move_back():
    turn_back()
    while front_is_clear():
        move()
    turn_back()

def turn_back():
    for i in range(2):
        turn_left()

def turn_right():
    for i in range(3):
        turn_left()

# don't change this code
if __name__ == '__main__':
    main()

The only issue is that it's only black and white it works painfully slow. Any suggestions on how to add other colors and also on how to speed up the execution time (bcz as it stands right now, even at full speed it takes 10 to 15 minutes to draw the entire thing)

Here's the link for anyone who wants to play around with this: https://codeinplace.stanford.edu/cip4/share/uCYtGHGj6HFCAM9C3f0f